compose-multiplatform
compose-multiplatform copied to clipboard
UIKitView is displayed on top of all other components
Describe the bug
UIKitView is displayed on top of all other components
Affected platforms
- iOS
Versions
- Kotlin version*: 1.9.0
- Compose Multiplatform version*: 1.5.10-rc01
- OS version(s)* (required for Desktop and iOS issues): iOS 16.4
- OS architecture (x86 or arm64): x86
To Reproduce
Here is a Compose screen for iOS.
The screen is a stack of two boxes with video players inside them. Video players are implemented via UIKitView.
But the video player from the bottom box is displayed on top of all other components (See attached screenshot).
Expected behavior The first video is not visible at all, because it is placed under the second video and the blue background.
Screenshots
Additional context If I remove the top video, the bottom video will not be visible (correct behaviour).
Thanks for this Issue!
@dima-avdeev-jb I think this issue is also caused by this bug
Hey guys, any updates on this issue? Or when will this be fixed?
Maybe this issue is related with
- https://github.com/JetBrains/compose-multiplatform-core/pull/965
@artsmvch Can you please wait version 1.6.0-beta02 and test it again
@artsmvch Can you please check it on version 1.6.0-rc03 ?
@dima-avdeev-jb it works well now, thanks!
Great. The current state will work if it's displayed at the same time. https://github.com/JetBrains/compose-multiplatform-core/pull/1145 - will solve the situation in a more generic way. Closing as the original issue is already resolved
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.