-
-
Notifications
You must be signed in to change notification settings - Fork 785
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
[v4] BottomSheet flickers when adding Animated component #908
Comments
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
@nastarfan Did you finally resolve this? |
why is this closed? this is still an issue!!!! @kaogire @nastarfan did you fix this? |
@OlehOutlierlabs Nah, it's still an issue |
Managed to find a solution here: #208
|
# Why Closes [ENG-11073](https://linear.app/expo/issue/ENG-11073) # How There is a bug in the Gorhom bottom sheet that causes the backdrop component to flash. It was reported a while ago, but it doesn’t seem to be resolved. Here are related issues: gorhom/react-native-bottom-sheet#208 and gorhom/react-native-bottom-sheet#908. I've adjusted the animation to mask the disappearing backdrop component. # Test Plan - Expo Go with empty app ✅
# Why Closes [ENG-11073](https://linear.app/expo/issue/ENG-11073) # How There is a bug in the Gorhom bottom sheet that causes the backdrop component to flash. It was reported a while ago, but it doesn’t seem to be resolved. Here are related issues: gorhom/react-native-bottom-sheet#208 and gorhom/react-native-bottom-sheet#908. I've adjusted the animation to mask the disappearing backdrop component. # Test Plan - Expo Go with empty app ✅
Bug
The BottomSheet is flickering when displayed after animated component has been mounted, specifically the flickering part is the
BottomSheetBackdrop
.From my observation, the flickering only happens when the BottomSheet has
onChange
prop since removing it while still keeping the animated component dismisses the issue. Tho, keeping theonChange
prop while removing the animated component also removes the issue. So it seems both cannot present at the same time, otherwise the issue will arise.The issue exists on both BottomSheet and BottomSheetModal.
Environment info
I have only tested this on Android
Steps To Reproduce
backdropComponent
andonChange
propsDescribe what you expected to happen:
Reproducible sample code
I created a repo to reproduce the issue, specifically in this file
The text was updated successfully, but these errors were encountered: