compose-multiplatform
compose-multiplatform copied to clipboard
Bug in LazyColumn when you have an interactive UIKitView inside
Describe the bug When you have a LazyColumn with an interactive UIKitView that has some animations like the time picker, if the time picker is animating, the LazyColumn scroll behavior is not correct.
Affected platforms
- iOS
Versions
- Kotlin version: 1.9.0
- Compose Multiplatform version: 1.5.0-beta02
- OS version(s): All
To Reproduce
- Add a lazy column
- Add some demo composables to have a scroll
- Add a UIKitView to the lazy column (The UiKit time picker wheel or something similar)
Expected behavior It should scroll normally.
Screenshots
https://github.com/JetBrains/compose-multiplatform/assets/124871594/1f44f392-f86d-4e96-ba6c-63101bb0c490
Hello, thanks for the issue. I'll pass it on to the team.
I have the same proble with AVPlayerViewController inside UIKitView
https://github.com/JetBrains/compose-multiplatform/assets/38012174/54e17219-9b17-44e7-9588-492a44779ae2
any updates on this issue?
Not yet. I'll have a look at it asap.
Any update on this?
I've performed a little investigation on this, but no resolution yet. It's a low priority issue at the moment. I'd advise against using animated interop views at the same time as changing their frames within Compose due to the CATransaction mechanism causing awkward bugs like that.
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.