Skip to content
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

Fix zero size layout in iOS interop #1194

Merged
merged 2 commits into from
Mar 14, 2024
Merged

Conversation

MatkovIvan
Copy link
Member

Proposed Changes

Regression after #1145 (more specific is - 156b2ee) - it was replaced by a zero-size layout that prevented drawing anything and might lead to crashes in native views due to a zero size.
Please note that before we had incorrect/inconsistent behavior - iOS interop occupied max available space. This PR aligns behaviour with AndroidView and just Box

Testing

Test: mpp demo, pages with interop

Issues Fixed

Fixes JetBrains/compose-multiplatform#4447

@MatkovIvan MatkovIvan merged commit 0b8d76d into jb-main Mar 14, 2024
6 checks passed
@MatkovIvan MatkovIvan deleted the ivan.matkov/fix-interop-layout branch March 14, 2024 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants