We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When providing a background image and refreshing the page, the default background image flashes before rendering the provided backgroundImage.
backgroundImage
I tried this:
In backgroundCover styles, I remove the background style and added the background color. backgroundColor: theme.palette.primary.main
backgroundCover
backgroundColor: theme.palette.primary.main
Then in the inline style I updated it to this.
{ backgroundImage: backgroundImage ? `url(${backgroundImage})` : `url(${PageLayoutDefaultHero})`, }
But no luck. I wonder if there is some lag in ConditionalWrapper and the styles are painting before the inline styles. 🤷♀️
ConditionalWrapper
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When providing a background image and refreshing the page, the default background image flashes before rendering the provided
backgroundImage
.background.mov
I tried this:
In
backgroundCover
styles, I remove the background style and added the background color.backgroundColor: theme.palette.primary.main
Then in the inline style I updated it to this.
But no luck. I wonder if there is some lag in
ConditionalWrapper
and the styles are painting before the inline styles. 🤷♀️The text was updated successfully, but these errors were encountered: