-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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] Fixes root view's background color in bridgeless mode #42739
[iOS] Fixes root view's background color in bridgeless mode #42739
Conversation
Base commit: b133bf6 |
This doesn't seem like the right location for the fix. I'd imagine that the rootview actually covers the entire screen, and that the RNTester root should set the background color on the outmost container view, instead of something that's inside the SafeAreaView. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix should be on the JS side.
@javache Emm, it's the default color for the root view, actually we do the same thing in non-bridgeless mode, please see:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, thanks for pointing that out. Still not a big fan for this, but let's do it for consistency.
@javache has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Summary:
Fixes root view's background color in bridgeless mode, the top area has white background color when in dark mode.
Before:
After:
Changelog:
[IOS] [FIXED] - [iOS] Fixes the root view's background color in bridgeless mode
Test Plan:
Run RNTester and see the top area's background color.