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

[iOS] screen flickers on new architecture if previous screen has animated view #2607

Open
kantorm opened this issue Jan 8, 2025 · 1 comment
Assignees
Labels
Platform: iOS This issue is specific to iOS Repro provided A reproduction with a snack or repo is provided

Comments

@kantorm
Copy link

kantorm commented Jan 8, 2025

Description

When using react-native-screens with new architecture on iOS the screen flickers on navigation when the previous screen contains an Animated.View with an animated style applied.

The issue does not occur when:

  1. Using stack navigator instead of native stack
  2. The animated style is not applied but the animation runs
flickering_demo_rn_screens.mov

Steps to reproduce

  1. Create a native stack navigator with at least two screens.
  2. On one screen add an animated view with some animated styles applied
  3. Add navigation to the next screen
  4. On the second screen add navigation to the first screen
  5. You should observe flickering upon navigating between screens

Snack or a link to a repository

https://snack.expo.dev/@kantorm/a4f338

Screens version

4.4.0

React Native version

0.76

Platforms

iOS

JavaScript runtime

Hermes

Workflow

None

Architecture

Fabric (New Architecture)

Build type

Debug mode

Device

iOS simulator

Device model

No response

Acknowledgements

Yes

@github-actions github-actions bot added Repro provided A reproduction with a snack or repo is provided Platform: iOS This issue is specific to iOS labels Jan 8, 2025
@kkafar
Copy link
Member

kkafar commented Jan 8, 2025

Thanks for the report!

@kkafar kkafar self-assigned this Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform: iOS This issue is specific to iOS Repro provided A reproduction with a snack or repo is provided
Projects
None yet
Development

No branches or pull requests

2 participants