[wp-trac] [WordPress Trac] #29906: Submenus can't be dismissed on mobile.

WordPress Trac noreply at wordpress.org
Tue Feb 17 03:07:10 UTC 2015


#29906: Submenus can't be dismissed on mobile.
-----------------------------------+------------------
 Reporter:  obenland               |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  4.2
Component:  Toolbar                |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  make-flow needs-patch  |     Focuses:
-----------------------------------+------------------

Comment (by seanchayes):

 I've created a basic patch {{{29906-2.diff}}} that emulates the desired
 functionality in the original ticket request.

 With the site-name submenu active and the patch in place a touch event on
 a blank location within the admin bar will remove the displayed site-name
 submenu and the user will remain on the current screen/view.

 Additionally, during the same touch event the if the touch is in another
 area of the adminbar occupied by an icon the following actions will take
 place dependent on the touch location:

 * trigger the action on the admin bar if the touch is on the comment icon
 - there is no dropdown associated with this menu item
 * trigger the new content dropdown menu if the touch is on the wp-admin-
 bar-new-content icon (+)
 * trigger the my account dropdown menu if the touch is on the wp-admin-
 bar-my-account icon

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


More information about the wp-trac mailing list