[wp-trac] [WordPress Trac] #40544: Flying admin menu bar (Header Bar)

WordPress Trac noreply at wordpress.org
Tue Jul 13 23:54:42 UTC 2021


#40544: Flying admin menu bar (Header Bar)
-----------------------------+---------------------------------
 Reporter:  arvindsinghu     |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Toolbar          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  ui, administration
-----------------------------+---------------------------------

Comment (by sabernhardt):

 Related: #42300

 I would like to explore keeping CSS `position: fixed` for mobile screens.
 The mobile toolbar already shows above the post (block) editor, even if
 the user prefers fullscreen mode on larger screens. I think having it
 consistently at the top would be better.

 Simply removing the `position: absolute` rule could worsen the experience
 with older mobile browsers, which behaved oddly with fixed positioning
 (ticket:25858#comment:19). On the other hand, the very next rule sets the
 `#wp-responsive-overlay` element to fixed. [https://caniuse.com/css-fixed
 Mobile browser support] is better now, yet using CSS `@supports` might
 help prevent any problems.

 Another possible issue with keeping a fixed toolbar is how it takes up
 space on mobile with landscape orientation (r26373). If that needs
 consideration, I prefer defining the different behavior based on max-
 height.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/40544#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list