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
It would seem that the logic featuring the orientation of the device is flawed.
When outside the screen containing the bottom sheet, if you change orientation of the device (ex. enter app in portrait mode on tablet, then rotate to landscape), when you focus into the BottomSheetTextInput, the bottom sheet doesn't push up to the correct heigh as it should. This leads the keyboard to cover the text input and bottom sheet.
Version
v5
Reanimated Version
v3
Gesture Handler Version
v2
Platforms
iOS
What happened?
It would seem that the logic featuring the orientation of the device is flawed.
When outside the screen containing the bottom sheet, if you change orientation of the device (ex. enter app in portrait mode on tablet, then rotate to landscape), when you focus into the BottomSheetTextInput, the bottom sheet doesn't push up to the correct heigh as it should. This leads the keyboard to cover the text input and bottom sheet.
I suspect this issue is related to #1279 , and that the issue is the use of
Dimensions.get('window');
instead ofuseWindowDimensions();
, but I am uncertain. On theDimensions.get('window');
page it recommends to useuseWindowDimensions()
anyways, so maybe it's worth considering regardless? 🤷A video of the code provided in expo, but on my iOS Simulator
Simulator.Screen.Recording.-.iPad.Pro.12.9-inch.6th.generation.-.2024-11-04.at.16.15.28.mp4
Reproduction steps
Result -> The keyboard covers the text input, almost like the bottom sheet isn't pushing up enough
Reproduction sample
https://snack.expo.dev/@mheddomagic/bottom-sheet---rotating-issue
Relevant log output
No response
The text was updated successfully, but these errors were encountered: