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

ctrlKey is true for pinch-zoom wheel events #36637

Open
skyfighteer opened this issue Nov 3, 2024 · 2 comments
Open

ctrlKey is true for pinch-zoom wheel events #36637

skyfighteer opened this issue Nov 3, 2024 · 2 comments
Labels
Content:WebAPI Web API docs help wanted If you know something about this topic, we would love your help!

Comments

@skyfighteer
Copy link

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_key_values

What specific section or headline is this issue about?

No response

What information was incorrect, unhelpful, or incomplete?

"When you perfrom a pinch-zoom gesture, Firefox and Chrome produce a wheel event with a deltaY: ±scale, ctrlKey: true. They produce an identical result when you scroll normally with two fingers while physically pressing down the Ctrl key, with the difference that the latter is subject to inertial scrolling."

source:
https://danburzo.ro/dom-gestures/

What did you expect to see?

this important info

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@skyfighteer skyfighteer added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Nov 3, 2024
@github-actions github-actions bot added the Content:WebAPI Web API docs label Nov 3, 2024
@Josh-Cena
Copy link
Member

This should be mentioned on the wheel event page, and probably MouseEvent.ctrlKey. The "Keyboard_event_key_values" page talks about one specific thing, which is the key value of a KeyboardEvent.

@Josh-Cena Josh-Cena added help wanted If you know something about this topic, we would love your help! and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Nov 6, 2024
@Josh-Cena Josh-Cena changed the title Mention trackpad ctrl behaviour ctrlKey is true for for pinch-zoom wheel events Nov 6, 2024
@Josh-Cena Josh-Cena changed the title ctrlKey is true for for pinch-zoom wheel events ctrlKey is true for pinch-zoom wheel events Nov 6, 2024
@skyfighteer
Copy link
Author

You are probably right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs help wanted If you know something about this topic, we would love your help!
Projects
None yet
Development

No branches or pull requests

2 participants