Assigned
Status Update
Comments
ni...@hinge.co <ni...@hinge.co> #2
Can you try with the latest snapshot? Not reproducible for me on androidx-main.
as...@google.com <as...@google.com>
ni...@hinge.co <ni...@hinge.co> #3
Ok, after trying a couple more versions, realized this is a duplicate of
From the release notes:
AndroidView's update callback's first invocation will now be defered until the view is attached, instead of running when the composition that introduces the AndroidView is applied. This fixes a bug where the update callback wouldn't be invalidated if a state it read was changed immediately by an effect. (Ie9438,
) b/291094055
Sorry for the confusion!
Description
Jetpack Compose version: 1.7.6
Jetpack Compose component(s) used:
animation
Android Studio Build: n/a
Kotlin version: 2.1.0
SharedTransitionLayout
will cause a crash for us when we attempt to access alignment lines in a child to the layout.I'm unsure if this reproduces it but this is the outline of what we do:
It seems that it only happens in some cases, for example when you attach the layout inspector to the view. It also happens during out screenshot tests.