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

WordPress Trac noreply at wordpress.org
Fri Mar 11 16:01:45 UTC 2022


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

Comment (by collieit):

 I digt a bit in the issue.
 I found out that

 {{{
 <ul class="wp-submenu wp-submenu-wrap" style=""></ul>
 }}}

 can get a melformed css. Looking like (-113px is an exemple)

 {{{
 Element {
     margin-top: -113px;
 }
 }}}

 The margin-top is calculate. If you go deeper in the menu list the problem
 get worse.

 I think this will be done via the js submenu close and open method. The
 calculation missmatched the realty exspecialy in cases with long submenues
 that hits the page end.

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


More information about the wp-trac mailing list