Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

No 'keyup' event in Firefox on Windows?

  • 1 odpověď
  • 1 má tento problém
  • 6 zobrazení
  • Poslední odpověď od Shadow110

more options

In summary: trying to create keyboard shortcut commands on the web and the option key on windows doesn't seem to have a 'keyup' event in Firefox.

I've illustrated this in this pen: https://codepen.io/dmetivier/pen/BmGLwV?editors=1111

Notice how pressing the option key doesn't print twice with full press and depress of the option key.

Pressing the option key in FF brings up the menu bar, is there any way to disable this via JavaScript? Or is it just an oddity quirk that I'll have to just deal with?

Thanks in advance!

In summary: trying to create keyboard shortcut commands on the web and the option key on windows doesn't seem to have a 'keyup' event in Firefox. I've illustrated this in this pen: https://codepen.io/dmetivier/pen/BmGLwV?editors=1111 Notice how pressing the option key doesn't print twice with full press and depress of the option key. Pressing the option key in FF brings up the menu bar, is there any way to disable this via JavaScript? Or is it just an oddity quirk that I'll have to just deal with? Thanks in advance!

Všechny odpovědi (1)

more options

https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-quickly

If you have a bug, file a bug report. https://bugzilla.mozilla.org/ Bug Writing Guidelines : https://developer.mozilla.org/en-US/docs/Mozilla/QA/Bug_writing_guidelines

Please let us know if this solved your issue or if need further assistance.