[wp-trac] [WordPress Trac] #58912: Mobile: Admin menu unexpectedly closes with Safari

WordPress Trac noreply at wordpress.org
Wed Jul 26 13:02:31 UTC 2023


#58912: Mobile: Admin menu unexpectedly closes with Safari
-----------------------------+--------------------------------------------
 Reporter:  afercia          |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Administration   |     Version:  6.2
 Severity:  normal           |  Resolution:
 Keywords:  has-screenshots  |     Focuses:  ui, accessibility, javascript
-----------------------------+--------------------------------------------

Comment (by afercia):

 For reference: in the Gutenberg editor there is an ad-hoc component to
 detect when focus is outside of an element. See
 [https://github.com/WordPress/gutenberg/blob/3d2bffd7c0ddbbf4cd2ab1e927b416728bc0c7e9/packages/compose/src/hooks
 /use-focus-outside/index.ts useFocusOutside] where focus on some elements
 gets 'normalized' to avoid this issue. Some eyes from the Editor team
 would probably help a lot to solve this bug and abstract a bit the code so
 that it can be reused.

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


More information about the wp-trac mailing list