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

[Bug]: BottomSheetModal flickers when previous screen in native stack has an animation (iOS only) #2088

Open
kantorm opened this issue Dec 16, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@kantorm
Copy link

kantorm commented Dec 16, 2024

Version

v5

Reanimated Version

v3

Gesture Handler Version

v2

Platforms

iOS

What happened?

When using BottomSheetModal along with React Navigation native stack with new architecture enabled the content of the screen which has BottomSheetModal flickers if the previous screen has any kind of animation. I noticed that the issue is not visible for the regular BottomSheet component and does not occur if using stack navigator instead of native stack navigator.

Reproduction steps

  • Create fresh expo app
  • Add new screen to the navigation
  • Add BottomSheetModal to the new screen
  • Navigate to the new screen. You can leave ParallaxScrollView from the template since it has some animation in it.
  • Content on the new screen flickers on mount and if BottomSheetModal is presented/dismissed

Reproduction sample

https://snack.expo.dev/@kantorm/ludicrous-red-scones?platform=ios

bottom_sheet_modal_issue.mp4

Relevant log output

No response

@kantorm kantorm added the bug Something isn't working label Dec 16, 2024
@MatLish00010
Copy link

any updates?

@dohooo
Copy link

dohooo commented Jan 18, 2025

Same!!! How to solve it? any update please?

@jayan2019
Copy link

I hope this issue is not related to this package. Its related to react-native-screens

@dohooo are you using @react-navigation/native-stack for navigation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants