Skip to content
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

FOUC between upgrade and internal loading of shadow.css #10

Open
stephband opened this issue May 10, 2022 · 0 comments
Open

FOUC between upgrade and internal loading of shadow.css #10

stephband opened this issue May 10, 2022 · 0 comments
Assignees
Labels
bug Something isn't working cannot fix Browser bug or other impossibility

Comments

@stephband
Copy link
Owner

stephband commented May 10, 2022

There is a Flash Of Unstyled Content after the element is upgraded and before the internal shadow stylesheet loads.

This is a shortcoming of the custom elements API. There is no sensible way of loading stylsheets. It's difficult to know what to do about this. Refuse to render the internals until the stylesheet has loaded?

@stephband stephband self-assigned this May 10, 2022
@stephband stephband added bug Something isn't working cannot fix Browser bug or other impossibility labels May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cannot fix Browser bug or other impossibility
Projects
None yet
Development

No branches or pull requests

1 participant