We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tried several ways of defining pinch bounds but none seem to work.
usePinch(pinchHandler, { domTarget: rootNode, eventOptions: { passive: false, distanceBounds: {max: 1000, min: -900} }, })
Is this supposed to constrain the value inside of da ?
da
The text was updated successfully, but these errors were encountered:
Found a solution :
const p = usePinch(pinchHandler, { domTarget: rootNode, eventOptions: { passive: false }, }); p.config.pinch.bounds[0] = [-900, 1000]
Sorry, something went wrong.
No branches or pull requests
Tried several ways of defining pinch bounds but none seem to work.
Is this supposed to constrain the value inside of
da
?The text was updated successfully, but these errors were encountered: