retyui / react-quick-pinch-zoom

A react component that providing multi-touch gestures for zooming and dragging on any DOM element.
https://react-quick-pinch-zoom.netlify.app/
312 stars 47 forks source link

Disable CTRL-Key on mouswheel #90

Closed daniel6691 closed 1 month ago

daniel6691 commented 1 month ago

Add a parameter to disable the mandatory use of the ctrl-key please

retyui commented 1 month ago

I think this prop should help: https://github.com/retyui/react-quick-pinch-zoom/blob/master/docs/api/README.md#shouldinterceptwheel-wheelevent--boolean

daniel6691 commented 1 month ago

thx, i've already implemented it for myself - just thought an official option would be nice