We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Natao arisiva ity resaka mitohy ity. Mametraha fanontaniana azafady raha mila fanampiana.

No 'keyup' event in Firefox on Windows?

  • 1 valiny
  • 1 manana an'ity olana ity
  • 6 views
  • Valiny farany nomen'i 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!

All Replies (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.