Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

No 'keyup' event in Firefox on Windows?

  • 1 ответ
  • 1 имеет эту проблему
  • 6 просмотров
  • Последний ответ от 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!

Все ответы (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.