Skip to content

No background-color on <body> when display:flex. #4032

Closed
@decimoseptimo

Description

@decimoseptimo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions