-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Order of interop components in Scaffold doesn't match the paint order #4485
Order of interop components in Scaffold doesn't match the paint order #4485
Comments
Reproduced using 1.6.0, 1.6.1 and 1.6.10-dev |
@igordmn @mazunin-v-jb I've got the same issue as @brewin ,Any way of solving this issue with the scaffold not showing the SwiftUi elements |
The order of interop views (desktop ones too) rely on order of traversing the Modifier nodes. |
I've removed the "regression" label because before JetBrains/compose-multiplatform-core#1145 (1.6.10) the order of interop was actually in "undefined" state and doesn't respect drawing order at all |
Fixes JetBrains/compose-multiplatform#4485 ## Testing Use reproduction from the issue This should be tested by QA ## Release Notes ### Fixes - Multiple Platforms - Fix order of interop elements in some cases
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks. |
Describe the bug
Using 1.6.10-dev1514, a UIView in a Scaffold's topBar or bottomBar is invisible when the Scaffold's content is a UIView and the bar overlaps the content.
Affected platforms
Versions
To Reproduce
Run iosApp: https://github.com/brewin/cmp-bug
See: https://github.com/brewin/cmp-bug/blob/main/shared/src/iosMain/kotlin/main.ios.kt
Additional context
This is a Material3 Scaffold. I don't know if the problem also
affects Material2 Scaffold(@mazunin-v-jb: material2 scaffold is not affected) or other Composables. The same layout works when using a Box instead of a Scaffold.The text was updated successfully, but these errors were encountered: