thmsbfft / oryoki

Ōryōki [応量器] is an experimental web browser with a thin interface.
http://oryoki.io/
MIT License
484 stars 32 forks source link

textarea:focus or input:focus disables "naviagate back/forward" shortcuts #33

Closed cjdunn closed 7 years ago

cjdunn commented 7 years ago

Perhaps this is related to using the arrow keys (⌘← and ⌘→) for shortcuts? Would this be any different if the shortcuts ⌘[ and ⌘] were also allowed for navigate back/forward? Chrome works with both. When I try in Chrome, I get the same problem when using ⌘← and ⌘→ from textarea or input, but there's no issue when using ⌘[ and ⌘]. Would you consider allowing both shortcuts? Or is there a way to set custom shortcuts? Thanks.

thmsbfft commented 7 years ago

Good catch. As of now there's no way of setting multiple shortcuts for one command in the menus without a workaround (https://github.com/electron/electron/issues/4758) so I'll switch over to ⌘[ and ⌘]. Fixed in 791d7d0.