Skip to content

[v5] On web the bottom sheet modal only works once #1627

Open
@TNAJanssen

Description

@TNAJanssen

Bug

When creating the modal and loading it will work, when you close or dismiss the modal it will set the transform Y.
If you try to open the modal again it will not open, and the transform will still be incorrect.

Environment info

Library Version
@gorhom/bottom-sheet 5.0.0-alpha4
react-native 0.72.4
react-native-reanimated 3.3.0
react-native-gesture-handler 2.12.0

Steps To Reproduce

  1. Create bottom sheet modal
  2. Open app in web
  3. Click button to open modal
  4. Close modal
  5. Click button to open modal it will not show

Describe what you expected to happen:

  1. Show the modal again

Reproducible sample code

Hard to do because there is no web in the snack, will try to make one later

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingv5

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions