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
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
iOS
Versions
Kotlin version*: 1.9.22
Compose Multiplatform version*: 1.6.10-dev1514
OS version(s)* (required for Desktop and iOS issues): iOS 17.4
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:
The order of interop views (desktop ones too) rely on order of traversing the Modifier nodes.
The fix to that would include a change in common, we first need to discuss it with Google first.
elijah-semyonov
changed the title
UIView in Scaffold bar is invisible when overlapping another UIView in content
Order of interop components in Scaffold doesn't match the paint order
Apr 17, 2024
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
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: