Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSet shiftKey, ctrlKey, etc. to real keyboard state in mouse events #25487
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mouse clicks currently set all their modifier keys to false, when they should reflect the real keyboard state. Even synthetic events should look at the keyboard: https://html.spec.whatwg.org/#fire-a-synthetic-mouse-event
This naturally involves a substantial amount of port-specific code, and there are likely to be timing subtleties.