[Bug]: Content height changes with keyboard present close modal unexpectedly
Version
v5
Reanimated Version
v3
Gesture Handler Version
v2
Platforms
iOS
What happened?
When typing in a BottomSheetTextInput inside of a BottomSheetModal if the content height changes drastically enough the BottomSheet will unexpectedly close.
Reproduction steps
Clone the repo here
Install on iOS simulator Press show details Select the text input and MAKE SURE KEYBOARD IS SHOW Press the 'Show View One' button
The repro in the Expo Snack does not showcase the issue, you must run where the keyboard can be shown to see the issue.
Reproduction sample
https://snack.expo.dev/@billyjacoby/bottom-sheet---issue-reproduction-template
Relevant log output
I've been posting in #2068 and #2176 , but i'm not sure if this is related or not. Hopefully so since it's fully reproducible here.
In case anyone else runs into this issue for now the workaround for me has been to manually call Keyboard.dismiss() before performing the action that changes the sheet height.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.