daisy / pipeline-ui

A user interface for the DAISY Pipeline 2
MIT License
5 stars 2 forks source link

Navigate menu with arrow keys, auto-select first item #187

Open marisademeglio opened 5 months ago

marisademeglio commented 5 months ago

From recent tester feedback:

"when any menu is open pressing left or right arrow key should open next menu item and first item of menu item should be selected"

See also #186

marisademeglio commented 5 months ago

@NPavie can you check on windows for the left/right arrow key behavior? It's ok on mac, arrowing left and right moves between the main menus. It does not select the first item but that is consistent with other mac apps.

NPavie commented 5 months ago

Same as for #186 : on Windows, chrome-based app don't provide this behavior, but other windows application are (tested visual studio community, Word and vscode).

In that particular case, edge only have a single menu available so it cannot be tested with, but vscode does have the behavior mentionned working with arrow keys for navigating between menu in their menu bar.

NPavie commented 5 months ago

Opened an issue regarding this in https://github.com/electron/electron/issues/41324