Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V3: BottomSheetModalProvider crashing when dismissing a model #298

Closed
ksitko opened this issue Feb 19, 2021 · 1 comment
Closed

V3: BottomSheetModalProvider crashing when dismissing a model #298

ksitko opened this issue Feb 19, 2021 · 1 comment
Labels

Comments

@ksitko
Copy link

ksitko commented Feb 19, 2021

Bug

Hi, I'm using a BottomSheetModal to navigate away from a page when a user presses an option in a context menu. I am getting sporadic crashes though: sheetsQueueRef.current[sheetsQueueRef.current.length - 2].ref.current.restore

This appears to be directly connected to #240 which was resolved in V2 in #244. Was the fix ever applied to the V3 branch?

Environment info

Library Version
@gorhom/bottom-sheet 3.3.1
react-native ~0.63.4
react-native-reanimated 2.0.0-rc.3
react-native-gesture-handler 1.9.0

Steps To Reproduce

Open/Close a BottomSheetModal right before navigating.

@ksitko ksitko added the bug Something isn't working label Feb 19, 2021
@github-actions
Copy link

@ksitko: hello! 👋

This issue is being automatically closed because it does not follow the issue template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant