Opened 6 months ago
Last modified 4 months ago
#65294 new defect (bug)
A temporary blank white screen appears when add new Post
| Reported by: | abduremon | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Administration | Version: | 7.0 |
| Severity: | normal | Keywords: | has-screenshots has-patch |
| Cc: | Focuses: | ui |
Description
After installing WordPress 7, the admin area briefly shows a blank white screen when opening the post editor through Post → Add New.
## Issue
When clicking Add New under Post, the editor page initially shows a completely blank (white screen).
## Reproduction Steps
- Install WordPress 7.
- Log into the WordPress admin dashboard.
- Navigate to Post → Add New.
- Observe the editor loading behavior during the initial page load
## Actual Result
The editor page shows temporarily blank/white before the post editor content appears.
## Expected Result
The post editor should load properly on the first attempt without displaying any temporary blank white screen.
Attachments (2)
Change History (15)
#1
@
6 months ago
I believe that this is the view transition and I think this is working as expected. See #64470. @flixos90 and @westonruter, does this look expected to you?
#3
@
6 months ago
- Keywords needs-patch added
- Milestone Awaiting Review → 7.0.1
That looks expected, yes, especially because the editor is in full screen mode, although the admin bar shouldn't go white either.
However, with full screen mode it definitely looks off, because the admin menu also flashes white when it would be expected to persist. See navigate-to-editor-without-fullscreen-mode.mp4.
This is related to #65032, which also makes improvements to view transitions. For the issue here, the admin menu and admin bar being hidden while the editor loads is surely an issue that needs to be fixed in Gutenberg. Instead of (apparently) hiding the entire body until the editor loads, it should instead be hiding the #wpcontent element only.
#4
@
6 months ago
Related: #65309
The new Connectors screen similarly appears to be hidden until it is fully rendered. However, in the case of Connectors the admin bar and admin menu are not hidden during the rendering process.
#5
@
6 months ago
- Keywords has-patch added; needs-patch removed
I've opened a Gutenberg PR implementing the approach @westonruter suggested in comment:3 — keeping the admin bar and admin menu painted while the editor loads, so only the empty content area is blank during the cross-document view transition, rather than the whole screen flashing white.
Gutenberg PR: https://github.com/WordPress/gutenberg/pull/78834
This ticket was mentioned in Slack in #core-performance by westonruter. View the logs.
5 months ago
This ticket was mentioned in Slack in #core by masteradhoc. View the logs.
5 months ago
#8
@
5 months ago
- Milestone 7.0.1 → 7.1
Punting for now. The blank screen is unexpected but not breaking anything, and the upcoming omnibar in 7.1 will likely address this flow anyway. The open PR on Gutenberg (#78834) still needs review, but given the lack of progress since @westonruter feedback three weeks ago, punting to 7.1 feels right.
#9
@
5 months ago
- Milestone 7.1 → 7.0.1
The Gutenberg PR: https://github.com/WordPress/gutenberg/pull/78834 was punted from 7.0.1 since 7.1 plans to add an omni bar. I think we can consider other changes if there are any, but I am tempted to close this as wontfix.
This ticket was mentioned in Slack in #core by adrianduffell. View the logs.
4 months ago
#13
@
4 months ago
- Keywords close removed
- Milestone 7.1 → Future Release
I tested this under 7.1 beta 4 in today’s bug scrub. The omni bar does improves things -- the bar remains static in the transition -- but overall there is still has some "jank" in the page load, making it not as smooth as other page transitions.
The blank white screen is also still noticeable when fullscreen mode is disabled in the post editor -- the sidebar menu briefly disappears.
I'd like to keep this open for a future release and see whether it's technically feasible to solve. I think a better transition here will give a nicer impression to end users, especially since the post editor is one of the most important screens in the admin dashboard.
A temporary blank white screen appears when add new Post