-
-
Notifications
You must be signed in to change notification settings - Fork 643
Flicker only on new arch #2663
Copy link
Copy link
Closed
Labels
platform:androidIssue related to Android part of the libraryIssue related to Android part of the libraryplatform:iosIssue related to iOS part of the libraryIssue related to iOS part of the libraryrepro-providedA reproduction with a snack or repo is providedA reproduction with a snack or repo is provided
Metadata
Metadata
Assignees
Labels
platform:androidIssue related to Android part of the libraryIssue related to Android part of the libraryplatform:iosIssue related to iOS part of the libraryIssue related to iOS part of the libraryrepro-providedA reproduction with a snack or repo is providedA reproduction with a snack or repo is provided
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