-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Post editor has flash of unstyled content when loading #47724
Comments
cc @ellatrix as this might be related to the iframe. |
This was supposed to be fixed by #46706, but it looks like it's regressed somehow? Even for an empty post, I'm seeing a flash of an unstyled inserter button and some focus styles. |
This issue happens in the iframed post editor and since we'll disable it for 6.2 #48076, I'll remove this issue from the respective board. |
@talldan I'm testing this again, but I can't reproduce when caching is enabled. Are you running this with Dev Tools open and cache disabled? In that case I can reproduce, but that's not normal usage. |
Yep, I am generally testing with dev tools open and cache disabled. I don't think there should be a flash of unstyled content when there's an empty cache. Especially if it's something that can be fixed. |
Yes, looks to be resolved now. I'll close this and the PR 👍 |
Description
As the title says.
I think this issue is related to the iframed editor causing a delay when loading css, as I've noticed similar issues when working with iframes recently.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Kapture.2023-02-02.at.11.56.57.mp4
Environment info
Gutenberg trunk
Brave / Mac OS
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: