[v3] BottomSheetBackdrop flashes on mounting
See original GitHub issueBug
In some ocsasions (not sure if because of react-navigation
or not), BottomSheetBackdrop
flashes (black to transparent) the whole screen.
Environment info
Library | Version |
---|---|
@gorhom/bottom-sheet | 3.2.1 |
react-native | 0.63.4 |
react-native-reanimated | 2.0.0-rc.2 |
react-native-gesture-handler | 1.9.0 |
Steps To Reproduce
Clone https://github.com/ferrannp/bottom-sheet-playground.
- Open the app
- She the flash
- Reload JS
- See the flash
- Comment out
backdropComponent={BottomSheetBackdrop}
- Reload JS
- You will not see the flash
Describe what you expected to happen:
BottomSheetBackdrop
not to flash when mounting
Reproducible sample code
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:6 (3 by maintainers)
Top Results From Across the Web
BottomSheet v4 is here! | React Native Bottom Sheet
Keyboard handling was released with v3 , however, there were some issues that pushed ... fixed on mount flicker on fixed sheet (48c4988)....
Read more >https://raw.githubusercontent.com/gorhom/react-nat...
... https://github.com/gorhom/react-native-bottom-sheet/compare/v4.3.0...v4.3.1) ... 23 April 2022 #### Fixes - updated BottomSheetBackdrop "falsey" default ...
Read more >gorhom/bottom-sheet - npm
A performant interactive bottom sheet with fully configurable options . Latest version: 4.4.5, last published: 3 months ago.
Read more >[v4] BottomSheet flickers when adding Animated component ...
Nastarfan. Bug. The BottomSheet is flickering when displayed after animated component has been mounted, specifically the flickering part is ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I use 3.3.1. Shadow still flickers on mount:)
+1