Status Update
Comments
w2...@gmail.com <w2...@gmail.com> #2
I made a mistake in the last sentence, and the correct one is:
"This issue does not exist in androidx.compose.material3:material3:1.1.2
"
ma...@google.com <ma...@google.com> #3
Can you clarify the behavior that you are expecting? Do you expect the text to show immediately without animation?
w2...@gmail.com <w2...@gmail.com> #4
Yes, animation should be triggered when the size of the text content changes, not every time it comes into view. In addition, the current behavior will lead to incomplete text display after the animation.
ti...@google.com <ti...@google.com> #5
Re
Could you provide minimal reproducible project please? That'd help us investigate the issue. Thanks!
w2...@gmail.com <w2...@gmail.com> #6
Re
Sure. Here's my project folder.
ay...@gmail.com <ay...@gmail.com> #7
I removed all the calls to animateContentSize in my lazycolumns while waiting for this to be fixed
je...@hq.bill.com <je...@hq.bill.com> #8
I believe there is a similar issue with animateItemPlacement
. I reported it here:
ti...@google.com <ti...@google.com> #9
Andrey, is this a known issue? I don't see any lookahead being used in the repro project in
je...@hq.bill.com <je...@hq.bill.com> #10
1.2.0 went stable today and I think this has been resolved. Try it with the latest version.
ti...@google.com <ti...@google.com> #12
Thanks for confirming the fix, Andrey.
Description
Jetpack Compose version: 1.6.0-beta01
Jetpack Compose component used: androidx.compose.material3:material3:1.2.0-alpha12
Android Studio Build: 2023.1.1
Kotlin version: 1.9.20
Steps to Reproduce or Code Sample to Reproduce:
1.Use the following code:
2.Swipe this list up and down quickly.
Every time sliding brings the Text component into view, it will play an animation that grows from small to large, and may not be fully displayed after the animation ends. This issue does not exist in
androidx.compose.material3:material3:1.2.0-alpha12