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!

Iskanje po podpori

Izogibajte se prevarantski tehnični podpori. Nikoli vam ne bomo naročili, da pokličete telefonsko številko ali nam pošljete osebne podatke. Sumljivo dejavnost prijavite z gumbom »Prijavi zlorabo«.

Več o tem

No 'keyup' event in Firefox on Windows?

  • 1 odgovor
  • 1 ima to težavo
  • 6 ogledov
  • Zadnji odgovor 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!

Vsi odgovori (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.