Skip to content

Conversation

@gorhom
Copy link
Owner

@gorhom gorhom commented Mar 4, 2021

Closes #321

Motivation

when user add 0 to snap points and then try to close sheet, it won't reset isClosing that will prevent all other events.

Installation

yarn add ssh://[email protected]:gorhom/react-native-bottom-sheet#fix/prevent-closing-when-sheet-is-out-of-screen

@gorhom gorhom added the v2 Written in Reanimated v1 label Mar 4, 2021
@gorhom
Copy link
Owner Author

gorhom commented Mar 4, 2021

@zpv could you test this pr 👍

@zpv
Copy link

zpv commented Mar 4, 2021

@gorhom Looks like this fixed it! Thanks ✌️

@gorhom gorhom merged commit 0aa88ad into master Mar 4, 2021
@gorhom gorhom deleted the fix/prevent-closing-when-sheet-is-out-of-screen branch March 4, 2021 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v2 Written in Reanimated v1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

While a sheet with default backdrop is closing and spam clicking the backdrop, snapTo no longer works.

3 participants