BetterTyped / react-zoom-pan-pinch

🖼 React library to support easy zoom, pan, pinch on various html dom elements like <img> and <div>
MIT License
1.51k stars 273 forks source link

Do not recognize touchpad wheel actions, iOS trackpad #404

Open vilola opened 1 year ago

vilola commented 1 year ago

Describe the bug I need to disable wheel zooming on touchpad so I tried wheel.touchPadDisabled: true, but nothing changed. When wheel. wheelDisabled was set to true, two-fingers zooming on trackpad was disabled. As well as mouse wheel zooming unfortunately. Pinch action is not triggered as well. Pinching on apple trackpad fires zoom action too and is disabled by wheel.disabled true.

Expected behavior

Desktop (please complete the following information):

Additional context Problem with Apple Magic Trackpad

thirstycode commented 3 months ago

Hello @vilola ,

did you find any solution for this?