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

Pinch issue on touchpad #498

Open
rrkoshta123 opened this issue Aug 9, 2024 · 1 comment
Open

Pinch issue on touchpad #498

rrkoshta123 opened this issue Aug 9, 2024 · 1 comment

Comments

@rrkoshta123
Copy link

rrkoshta123 commented Aug 9, 2024

I am facing issue with pinching. Whatever props related to pinch I am using is not working like step, onPinching etc. I tried to disabling it as well but it's not working. Looks like pinching props are not working in the library. Also, Can we have a feature on pinch to increase the scale by 0.1 same as wheel? Also, same should work with touchpad.

Code I am using:

    onPinching={handlePinching}     
    pinch={{disabled: false, step: 0.1}}         
    onPinchingStart={handlePinching}     ](url)
@cheechoo28
Copy link

@rrkoshta123 you can use wheel={{ wheelDisabled: true, smoothStep: 0.01 }} as a work around. 😄

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

No branches or pull requests

2 participants