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
However, this breaks the BottomSheet, as all calculations are thought to be run from the bottom edge.
I am aware that it is possible to change on android the windowSoftInputMode, however, this is quite invasive and doesn't work with projects using react native navigation.
Environment info
Library
Version
@gorhom/bottom-sheet
1.4.1
react-native
0.63.3
react-native-reanimated
2.0.0-alpha.8
react-native-gesture-handler
1.8.0
Reproducible sample code
Please tell me whether reproduction is necessary.
The text was updated successfully, but these errors were encountered:
To anybody who has issues with this (active keyboard moving the modal up), you can try to programmatically switch softInputMode to adjustNothing by writing a native module on a screen where you want to use the bottom sheet. Note that none keyboard events will be sent to the RN though
I am aware that it is possible to change on android the windowSoftInputMode, however, this is quite invasive and doesn't work with projects using react native navigation.
Bug
Through these styles:
src/components/BottomSheet/styles.ts
it happens that when opening the Keyboard on android (e.g. having a text input in the bottom sheet's content) the content gets pushed up:
This is the default behaviour on android. Interestingly, this doesn't happen when changing the styles from
bottom
->top
.However, this breaks the BottomSheet, as all calculations are thought to be run from the bottom edge.
I am aware that it is possible to change on android the windowSoftInputMode, however, this is quite invasive and doesn't work with projects using react native navigation.
Environment info
Reproducible sample code
Please tell me whether reproduction is necessary.
The text was updated successfully, but these errors were encountered: