compose-multiplatform icon indicating copy to clipboard operation
compose-multiplatform copied to clipboard

UIKitView is displayed on top of all other components

Open artsmvch opened this issue 2 years ago • 5 comments

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

Screenshot 2023-10-22 at 23 16 09

Additional context If I remove the top video, the bottom video will not be visible (correct behaviour).

artsmvch avatar Oct 22 '23 21:10 artsmvch

Thanks for this Issue!

dima-avdeev-jb avatar Oct 25 '23 15:10 dima-avdeev-jb

@dima-avdeev-jb I think this issue is also caused by this bug

KevinnZou avatar Oct 30 '23 02:10 KevinnZou

Hey guys, any updates on this issue? Or when will this be fixed?

artsmvch avatar Jan 29 '24 10:01 artsmvch

Maybe this issue is related with

  • https://github.com/JetBrains/compose-multiplatform-core/pull/965

dima-avdeev-jb avatar Jan 29 '24 10:01 dima-avdeev-jb

@artsmvch Can you please wait version 1.6.0-beta02 and test it again

dima-avdeev-jb avatar Jan 29 '24 10:01 dima-avdeev-jb

@artsmvch Can you please check it on version 1.6.0-rc03 ?

dima-avdeev-jb avatar Feb 27 '24 06:02 dima-avdeev-jb

@dima-avdeev-jb it works well now, thanks!

artsmvch avatar Feb 28 '24 16:02 artsmvch

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

MatkovIvan avatar Feb 28 '24 17:02 MatkovIvan

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

okushnikov avatar Jul 14 '24 15:07 okushnikov