[wp-trac] [WordPress Trac] #60548: Image editor: improve the browsePopup function
WordPress Trac
noreply at wordpress.org
Fri Feb 16 11:15:30 UTC 2024
#60548: Image editor: improve the browsePopup function
-----------------------------+----------------------------------------
Reporter: afercia | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 6.3
Severity: normal | Resolution:
Keywords: has-screenshots | Focuses: accessibility, javascript
-----------------------------+----------------------------------------
Comment (by afercia):
> Adjusting the event handling from onkeyup to onkeydown and passing the
event object (event) as a parameter to the browsePopup function should
help resolve the issues right?
yes, either that or we would need to add a `keydown` event for the only
purpose to prevent scrolling. It depends whether keeping the interaction
with the menu on `keyup` is desired or not. I'd defer to @joedolson for a
decision about the preferred interaction.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60548#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list