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
On Android specifically, the Sheet would intermittently re-open after closing it in the following scenario:
Keyboard is open
Detent is 100%
This was an issue within the @gorhom/bottom-sheet library where the function normalizeSnapPoints would not change the true pixel value of a 100% detent. It always equates to 0. This is specific to Android with adjustResize as the keyboard behaviour.
A condition was added as a patch to prevent exiting a function (onSnapPointsChange) which allows the Sheet to react to snap point changes mid-animation.
Bug
On Android specifically, the Sheet would intermittently re-open after closing it in the following scenario:
Keyboard is open
Detent is 100%
This was an issue within the @gorhom/bottom-sheet library where the function normalizeSnapPoints would not change the true pixel value of a 100% detent. It always equates to 0. This is specific to Android with adjustResize as the keyboard behaviour.
A condition was added as a patch to prevent exiting a function (onSnapPointsChange) which allows the Sheet to react to snap point changes mid-animation.
A PR to solve this has been submitted here: #1375
Screen.Recording.2023-05-17.at.10.26.25.AM.mov
Environment info
Steps To Reproduce
Describe what you expected to happen:
What actually happens:
Reproducible sample code
The text was updated successfully, but these errors were encountered: