-
-
Notifications
You must be signed in to change notification settings - Fork 546
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
Flicker only on new arch #2663
Comments
WhatsApp.Video.2025-01-31.at.2.56.59.AM.mp4 |
@faljabi hey, why do you think this issue is related to react-native-screens? The snack you provided does neither use react-navigation nor react-native-screens? If this issue is reproducible w/o those libraries you should report it directly in |
@kkafar oh my bad, I will update the snack and let you know. 🙏🏻 |
Thanks |
It seems similar to react-navigation/react-navigation#12278, but I was told to open an issue here 🫣 |
@ManAnRuck are you able to provide a reproduction here? |
sure @kkafar 🙂, I think it could be the same issue (but not sure) Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-02-01.at.19.21.52.mp4 |
with expo go (always new architecture) it happens always. after running: Then after changing in |
Yes it is the same issue whenever a view has a flex styles, it flickers on new arch only whenever there is a state update. |
I am having an issue which might be related: https://discord.com/channels/695411232856997968/1335675259453706341/1335675259453706341 |
Description
I am facing an flicker as shown in the attached video when an input inside a View with flex = 1 and alignItems and justContent is 'center'. I noticed also it is happening with other screens without text inputs. Switching back to old arch is resolving the issue.
As a hack on new arch, If I remove flex = 1 and use paddingTop for example to center my content it is working fine.
Any hints please?
Steps to reproduce
Snack or a link to a repository
https://snack.expo.dev/gSa8VH--zqkIt0i8aZsZw
Screens version
4.5.0
React Native version
0.76.6
Platforms
iOS, Android
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
Fabric (New Architecture)
Build type
Debug mode
Device
Real device
Device model
iPhone 16 Pro Max, Android Pixel 2
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: