Is there a bug with Alt listener ? #4225
Replies: 2 comments 2 replies
-
not really. Alpine just uses whatever the native browser events send. alt+g doesn't actually send the g key but |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, it's just how browsers/keyboard/OSs work. some special kinds of combinations do not send a composition of those things in the event, but instead send the thing that that combination makes. Similarly, cmd+click sends an auxclick, not a click, ctrl+click sends a contextmenu, not a click with ctrlkey. Here, alt+key may not send the key you think you're sending. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am building the shortcut keys of my web app.
I noticed something.
I thought it was a bug on my web app, but I could reproduce the bug here :
https://codesandbox.io/p/sandbox/alpine-js-forked-8vxq49
Curious to read your guesses :)
Beta Was this translation helpful? Give feedback.
All reactions