Closed avently closed 5 months ago
It is the same bug as #3807 and should be already fixed by https://github.com/JetBrains/compose-multiplatform-core/pull/575. Try 1.6.10-beta01
I found that issue before but not resulting PR. It works, thank you!
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
Describe the bug
When dragging scrollbar and something calls
listState.animateScrollBy(10f)
, the app freezes and there is no way to use it without restart. WithlistState.scrollBy
it works fine, so it's somehow related to animation.Affected platforms
Versions
To Reproduce
git clone https://github.com/JetBrains/compose-multiplatform
./gradlew run
Enter
many times until you see scroll bar at the right side of screen. After you see it already, try to drag it and pressEnter
again without stopping dragging the scrollbar up and down. You'll notice the whole app is freezed.This behaviour is somehow related to animation because if you call
listState.scrollBy(10f)
eveyrthing is fine.animateScrollToItem
is also affected whilescrollToItem
is not.Expected behavior Shouldn't freeze the app