Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in LazyColumn when you have an interactive UIKitView inside #3525

Open
MohamedRejeb opened this issue Aug 18, 2023 · 6 comments
Open

Bug in LazyColumn when you have an interactive UIKitView inside #3525

MohamedRejeb opened this issue Aug 18, 2023 · 6 comments
Assignees
Labels
bug Something isn't working ios touches interop

Comments

@MohamedRejeb
Copy link

MohamedRejeb commented Aug 18, 2023

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

  1. Add a lazy column
  2. Add some demo composables to have a scroll
  3. Add a UIKitView to the lazy column (The UiKit time picker wheel or something similar)

Expected behavior
It should scroll normally.

Screenshots

261514437-fbde8bf4-6535-4374-ba2f-6af2eb603103.1.mov
@MohamedRejeb MohamedRejeb added bug Something isn't working submitted labels Aug 18, 2023
@mazunin-v-jb
Copy link
Contributor

Hello, thanks for the issue.
I'll pass it on to the team.

@kirvigen
Copy link

I have the same proble with AVPlayerViewController inside UIKitView

zapis-ekrana-2024-02-27-v-222219_uSPqOCqn.mp4

@kasem-sm
Copy link

kasem-sm commented Apr 6, 2024

any updates on this issue?

@elijah-semyonov elijah-semyonov self-assigned this Apr 8, 2024
@elijah-semyonov
Copy link
Contributor

Not yet. I'll have a look at it asap.

@dilip640
Copy link

Any update on this?

@elijah-semyonov
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ios touches interop
Projects
None yet
Development

No branches or pull requests

6 participants