#28704 closed enhancement (fixed)
Navigate media library with arrow keys
Reported by: | danielbachhuber | Owned by: | helen |
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Media | Keywords: | has-patch dev-feedback |
Focuses: | javascript | Cc: |
Description
It would be nice if I could navigate the media library with arrow keys.
Use case: I'm inspecting media assets for their size details. It would be so much faster of an experience to be able to use the keys on my keyboard.
Attachments (4)
Change History (17)
#2
@
10 years ago
- Milestone changed from Future Release to 4.0
Fix for this is included in the most recent #23560 patches.
#3
@
10 years ago
- Owner set to helen
- Resolution set to fixed
- Status changed from new to closed
In 29220:
This ticket was mentioned in IRC in #wordpress-dev by rboren. View the logs.
10 years ago
#5
@
10 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
Need to noop out of this when focus is inside an input of some kind - editing captions when creating a gallery, for instance.
#6
follow-up:
↓ 7
@
10 years ago
To get around the arrow keys being hijacked, I must use Emacs keybindings to caption images when creating a gallery. Intensely frustrating.
#7
in reply to:
↑ 6
@
10 years ago
- Focuses javascript added
- Keywords has-patch dev-feedback added; needs-patch removed
Let the frustration end!
In 28704.diff skip keyboard navigation when inside an input field.
Replying to ryan:
To get around the arrow keys being hijacked, I must use Emacs keybindings to caption images when creating a gallery. Intensely frustrating.
#8
@
10 years ago
28704.2.diff is a cleaner fix, catches the input field earlier.
#9
@
10 years ago
In 28704.3.diff: skip all key handlers in input areas, not just arrow keys. Prevents selection/deselection of items multiple times when typing a caption with spaces. Also stops event propagation to prevent scrolling the grid view when hitting space to select in edit post or open modal in media grid.
#10
@
10 years ago
28704.4.diff actually stop event propagation in the media grid. Tested in Chrome and Firefox on OS X.
This is mentioned on #23560, which is currently milestoned for 4.0. Not sure if anybody is actively working on it.