[wp-trac] [WordPress Trac] #45186: Admin notice jumps from above the H1 to below it when created.

WordPress Trac noreply at wordpress.org
Mon Dec 6 17:12:29 UTC 2021

#45186: Admin notice jumps from above the H1 to below it when created.
 Reporter:  dschalk         |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  4.9.8
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:  ui, administration

Comment (by oglekler):

 This jump is really annoying. And if the notice has class 'inline' the
 message is staying put about the H1. I was trying to understand how one
 hook is writing messages in two different places before I paid attention
 to this freak jump. I didn't look at it closely because layout shift is
 sadly quite normal behaviour in the admin.

 The layout shift is a big problem for WordPress in general and certain
 plugins are using JS too much to add stuff on the page, as well as the
 build of the Block Editor which also shakes the layout a lot.

 There is supposed to be another solution. Right now it looks like a
 temporary fix that stuck forever.

 I've checked the 5.8.2 version before writing the comment…

Ticket URL: <https://core.trac.wordpress.org/ticket/45186#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list