Assigned
Status Update
Comments
ti...@google.com <ti...@google.com> #2
Can you try with the latest snapshot? Not reproducible for me on androidx-main.
mi...@gmail.com <mi...@gmail.com> #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: 2024.06.00 (BOM) Jetpack Compose component used: AnimatedVisibility Android Studio Build: #AI-232.10300.40.2321.11668458 Kotlin version: 1.9.24
Description:
In the following snippet I'd expect the Box's background color and the text to appear and disappear at the same time, but as you can see in the attached recording the text disappears with a slight delay. In our use-case we have a dynamic duration for the transition which sometimes goes to 0, which causes this glitch.