Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set shiftKey, ctrlKey, etc. to real keyboard state in mouse events #25487

Open
pshaughn opened this issue Jan 10, 2020 · 0 comments
Open

Set shiftKey, ctrlKey, etc. to real keyboard state in mouse events #25487

pshaughn opened this issue Jan 10, 2020 · 0 comments

Comments

@pshaughn
Copy link
Member

@pshaughn pshaughn commented Jan 10, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.