You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this is regression.
Previously it's rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
Which is white
And now it becomes rootView.backgroundColor = [UIColor blackColor];
Which makes it black, and this has broken stuff like storybookjs/storybook#5377
I had to change rootView.backgroundColor = [UIColor blackColor]; to rootView.backgroundColor = [UIColor whiteColor]; in order to revert to the old behavior
Reproducible Demo
Simply initialize an app under 0.58.3 and you'll see default backgrounds becoming black instead of white
For me I upgraded from 0.57.x to 0.58.3 using react-native-git-upgrade
The text was updated successfully, but these errors were encountered:
kdenz
changed the title
rootView.backgroundColor in AppDelegate.m is no longer white by default
rootView.backgroundColor in AppDelegate.m is no longer white by default in 0.58.3
Feb 6, 2019
I had to change rootView.backgroundColor = [UIColor blackColor]; to rootView.backgroundColor = [UIColor whiteColor]; in order to revert to the old behavior
Can you maybe submit a PR that reintroduces this?
That way we'd have a change to see why it was changed in the first place. Or maybe look at the git history to see which commit changed it?
Environment
Description
I'm not sure if this is regression.
Previously it's
rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
Which is white
And now it becomes
rootView.backgroundColor = [UIColor blackColor];
Which makes it black, and this has broken stuff like
storybookjs/storybook#5377
I had to change
rootView.backgroundColor = [UIColor blackColor];
torootView.backgroundColor = [UIColor whiteColor];
in order to revert to the old behaviorReproducible Demo
Simply initialize an app under 0.58.3 and you'll see default backgrounds becoming black instead of white
For me I upgraded from 0.57.x to 0.58.3 using
react-native-git-upgrade
The text was updated successfully, but these errors were encountered: