Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix zero size layout in iOS interop (#1194)
## 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`](https://github.com/JetBrains/compose-multiplatform-core/blob/v1.6.0/compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/viewinterop/AndroidViewHolder.android.kt#L387) and just [`Box`](https://github.com/JetBrains/compose-multiplatform-core/blob/v1.6.0/compose/foundation/foundation-layout/src/commonMain/kotlin/androidx/compose/foundation/layout/Box.kt#L212-L214) ## Testing Test: mpp demo, pages with interop ## Issues Fixed Fixes JetBrains/compose-multiplatform#4447
- Loading branch information