You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If I use android Views or iOS UIKit interop with Compose the z index is respected and I can have a composable on top of a UIKit View for example but for desktop it's not the case, swing components are always on the top.
Box {
SwingInterop()
Text("Demo text") // this text should be visible on top of swing
}
Describe the bug
If I use android Views or iOS UIKit interop with Compose the z index is respected and I can have a composable on top of a UIKit View for example but for desktop it's not the case, swing components are always on the top.
https://github.com/MohamedRejeb/Calf/blob/8dd27303afba2f76503089567ad65ffe94e5a051/calf-ui/src/desktopMain/kotlin/com/mohamedrejeb/calf/ui/web/WebView.desktop.kt#L120
https://github.com/MohamedRejeb/Calf/blob/8dd27303afba2f76503089567ad65ffe94e5a051/sample/common/src/commonMain/kotlin/com.mohamedrejeb.calf.sample/ui/WebViewScreen.kt#L47
Affected platforms
Versions
To Reproduce
Steps and/or the code snippet to reproduce the behavior:
Expected behavior
The composable should be on top of the SwingPanel
Additional context
In my case I'm using JavaFX WebView, I'm not sure if it's a common problem or related to using JavaFX
The text was updated successfully, but these errors were encountered: