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
The text was updated successfully, but these errors were encountered:
ElliotSknr
changed the title
Nesting a TabNavigator inside of a Navigator prevents WindowInsets from being updated
Nesting Navigators prevents WindowInsets from being updated upon device rotation on iOS
Mar 12, 2024
I've updated the sample project which replicates the issue to use 1.1.0-alpha04. Unfortunately the bump to Compose Multiplatform 1.6.1 in this version does not seem to have fixed this particular bug.
I have found that on iOS, window insets are not being updated correctly after the device is rotated, only if you are using nested navigators.
I have linked a sample project that contains the minimal reproducible code. Please see the App.kt file and change the useNestedNavigators value.
I've tested on both 1.1.0-alpha03, where the issue is present. Upon downgrading to 1.0.0 with no other changes, the issue goes away.
Sample Project: https://github.com/ElliotSknr/WindowInsetsDemo
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-03-11.at.16.28.49.mp4
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-03-11.at.16.29.12.mp4
The text was updated successfully, but these errors were encountered: