-
-
Notifications
You must be signed in to change notification settings - Fork 921
Closed
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requestedv4Written in Reanimated v2Written in Reanimated v2
Description
Bug
When using the -1 index to make sure that the sheet is closed on the initial render, the sheet works fine on IOS but not on android. Instead on android, the sheet renders a small portion at the bottom of the screen, which blocks interaction with contents outside the sheet.
Environment info
| Library | Version |
|---|---|
| @gorhom/bottom-sheet | 4.0.3 |
| react-native | 0.63 |
| react-native-reanimated | 2.2.0 |
| react-native-gesture-handler | 1.10.3 |
Steps To Reproduce
Nothing big here, a simple example. Just set the index to -1.
Describe what you expected to happen:
The sheet should be closed on initial render and only show when a button is pressed
Reproducible sample code
The snack code with the issue
https://snack.expo.dev/@aimensasi/bottom-sheet-v4-reproducible-issue-template
antoinebrtd, lisaklein, aditya-keri-betterhalf, gurleen-kaur-30, katerynapeikova and 2 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requestedv4Written in Reanimated v2Written in Reanimated v2
