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

Issue with _handlePanResponderMove: Active touch count remains at 1 while attempting pinch and zoom on iOS. #102

Open
Shivangigupta01 opened this issue Jun 6, 2024 · 0 comments

Comments

@Shivangigupta01
Copy link

Shivangigupta01 commented Jun 6, 2024

I am using @openspacelabs/react-native-zoomable-view to implement pinch and zoom in my react native app.

When i am trying to zoom the view in iOS keeping two fingers simultaneously and then trying to zoom, the _handlePanResponderMove gets called, but the value for gestureState.numberActiveTouches comes out to be 1, as a result of which, _handlePinching doesn't get called.

How can i fix this issue?

Version:
react: 18.2.0
react-native: 0.72.6
@openspacelabs/react-native-zoomable-view : 2.1.6

New arch enabled

This is only happening in iOS

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

1 participant