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 to zoom gestures do not work if <ImageCropper/> is inside a modal. #35

Open
gomes042 opened this issue Nov 9, 2020 · 3 comments

Comments

@gomes042
Copy link

gomes042 commented Nov 9, 2020

Like this repo did, it would be an alternative to include captureEvent:boolean property to fix it.

@barrsan
Copy link
Owner

barrsan commented Nov 10, 2020

Hi, @3GOMESz! Component does not use PanResponder from react-native unlike react-native-zoomable-view. Therefore, a solution with captureEvent will not work. It looks like the problem is over 2 years old software-mansion/react-native-gesture-handler#139

@gomes042
Copy link
Author

Ohh, I see :'(

Hi, @3GOMESz! Component does not use PanResponder from react-native unlike react-native-zoomable-view. Therefore, a solution with captureEvent will not work. It looks like the problem is over 2 years old software-mansion/react-native-gesture-handler#139

@gomes042
Copy link
Author

gomes042 commented Nov 10, 2020

So it's not a problem directly with react-native-simple-image-cropper, but with react-native-gesture-handler itself. The best current solution is for each user to simulate a modal with a normal view until new features appear in the other module...

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