[wp-trac] [WordPress Trac] #58912: Mobile: Admin menu unexpectedly closes with Safari
WordPress Trac
noreply at wordpress.org
Sun Aug 20 22:49:08 UTC 2023
#58912: Mobile: Admin menu unexpectedly closes with Safari
-------------------------------------+-------------------------------------
Reporter: afercia | Owner: joedolson
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.4
Component: Administration | Version: 6.2
Severity: normal | Resolution:
Keywords: has-screenshots has- | Focuses: ui, accessibility,
patch needs-testing changes- | javascript
requested |
-------------------------------------+-------------------------------------
Comment (by joedolson):
Added an alternate option. I think that monitoring `blur` is flawed
because it depends on something having focus, which isn't always the case.
I switched this to a `click` event, firing on any click event outside of
the menu. This doesn't close the menu if you're using the keyboard and
exit the menu, however.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58912#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list