mousewheel settings not working in safari browser when pinch zoom is performed on touchpad
See original GitHub issueThe mousewheel settings is enabled as per the docs. However, on trackpad pinch action it zooms in or zooms out the page itself.
mousewheel: {
enabled: true,
global: true,
modifiers: ['ctrl', 'meta'],
}
Expected Behavior
touchpad pinch zoom should be captured at the graph level.
Current Behavior
Browser default action is applied.
Possible Solution
No solution at present.
Steps To Reproduce
Additional Context
NA
Your Environment
- x6: 1.21.5
- OS: macOS Big Sur. Version 11.2.3
- Browser: safari
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Use your trackpad or mouse to zoom on Mac - Apple Support
Use your trackpad or mouse to zoom on Mac · On your Mac, choose Apple menu > System Settings, click Accessibility in the...
Read more >Zoom with CTRL + touchpad mousewheel not working on Linux
Launched Chrome and hit the Ctrl + mousewheel on touchpad (ie two fingers sliding up or down), can observe that the page is...
Read more >OS X: Pinch to zoom gesture should map to mousewheel with ...
Part 2: Map macOS pinch to zoom gesture to mousewheel with the control key ... Try to pinch to zoom My settings in...
Read more >Mac OS X zoom in application with mouse wheel - Super User
I made Mac Mouse Fix. It lets you zoom in and out by scrolling while holding the Command (⌘) key. It works just...
Read more >Mouse wheel is zooming instead of scrolling
Most web browsers and some apps have a feature that lets you zoom in and out by pressing and holding the Ctrl key...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Tried with my windows laptop with a Precision Touchpad in Edge.
When I use pitch gestures, a
WheelEvent
withctrlKey: true
will be fired (Although I didn’t press ctrl key at that time)The second event was triggered by a real mouse wheel.
The issue is that the value of
deltaY
is not read by x6, cause very rapid zoom when use gestures.https://developer.mozilla.org/en-US/docs/Web/API/Pointer_events/Pinch_zoom_gestures