-
-
Notifications
You must be signed in to change notification settings - Fork 27k
No background-color on <body> when display:flex. #4032
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
Comments
Sounds like you need to open an issue with Chrome then. Can you reproduce this without using CRA? |
Well, I just tried https://raw.githubusercontent.com/reactjs/reactjs.org/master/static/html/single-file-example.htmland and was not. |
CRA transforms
Then it's definitely a browser bug. It would be great if you could prepare a reduced test case for the browser vendors, but there's nothing we can do here. |
In an fresh create-react-app, if:
body { background-color: #000000; display: flex; }
There is no background color applied, until page refresh.
Somehow, It doesn't happen while render() includes an image tag, e.g.
<img src="/" />
.I'm seeing the issue in Chrome 64, but not reproducing in Edge nor Firefox latest.
The text was updated successfully, but these errors were encountered: