-
Notifications
You must be signed in to change notification settings - Fork 59
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
onShouldBlockNativeResponder #71
Comments
Hi! This sounds like a great candidate for a pull request. If you are able to fix the problem in a PR, please submit it and we'll take a look. |
@lukahc Thank you for the help! Turns out I needed this functionality almost immediately. Very useful. Do you think this should be |
I agree, I can't think of many scenarios where it would be better for it to be |
Nice – I think that should be fine. An interesting note: However, I found that it was working on iOS too, but only because I happened to be using a |
Currently the zoomable view conflicts with other packages like react native tab view because of line 130 in
src/ReactNativeZoomableView.tsx
:onShouldBlockNativeResponder: () => false,
This line can lead to the
PanResponder
being terminated if there are other instances ofPanResponder
, meaning that the zoomable view can't pan or zoom properly, if at all. Could you please fix this, either by changingfalse
totrue
, or just by makingonShouldBlockNativeResponder
an optional prop?The text was updated successfully, but these errors were encountered: