[wp-trac] [WordPress Trac] #32747: WP Admin Menus/SubMenus Overlap in small screen

WordPress Trac noreply at wordpress.org
Thu Sep 29 19:19:41 UTC 2022


#32747: WP Admin Menus/SubMenus Overlap in small screen
-------------------------------------+-------------------------------------
 Reporter:  turtlepod                |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  6.1
Component:  Administration           |     Version:  4.2.2
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch has-testing-   |     Focuses:  ui, accessibility,
  info needs-testing                 |  javascript
-------------------------------------+-------------------------------------
Changes (by sabernhardt):

 * keywords:  has-patch changes-requested has-testing-info => has-patch has-
     testing-info needs-testing


Comment:

 I also tried `if ( adjustment > 1 && ! $wpwrap.hasClass( 'wp-responsive-
 open' ) )`. However, the class does not update when resizing the window,
 so that is less reliable.

 Technically someone ''can'' remove/replace the `#wp-admin-bar-menu-toggle`
 element or show/hide it at different screen sizes. When I removed the
 toggle and hovered over links, I did not get console errors. It still
 might be worth checking that the toggle exists. If someone changes the
 breakpoint, updating quite a lot of CSS, the window width would not help
 in that case either.

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


More information about the wp-trac mailing list