Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

PanResponder.onPanResponderMove not responding for pinch #8852

Closed
weixingsun opened this issue Jul 18, 2016 · 6 comments
Closed

PanResponder.onPanResponderMove not responding for pinch #8852

weixingsun opened this issue Jul 18, 2016 · 6 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@weixingsun
Copy link

weixingsun commented Jul 18, 2016

Hello,

I cannot get event that more than 2 touches in my Android 6.0.1/iOS 9.3 device with RN.29, which is very annoying
Help needed, any suggestion will be highly appreciated.

PanResponder.create({
onPanResponderMove: (evt, gestureState){
if(evt.nativeEvent.touches.length<2) //move
//if(evt.nativeEvent.changedTouches.length<2) //also move?
else //pinch, this condition is never called.
}
...
})
//Is PanResponder changing the API ?
thanks very much!

@weixingsun
Copy link
Author

weixingsun commented Jul 22, 2016

looks like the PanResponder is not so popular, anyway I'll keep it open as a tracking place

@mkonicek
Copy link
Contributor

Hi there! This issue is being closed because it has been inactive for a while.

But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/panresponderonpanrespondermove-not-responding-for-pinch

Product Pains has been very useful in highlighting the top bugs and feature requests:
https://productpains.com/product/react-native?tab=top

Also, if this issue is a bug, please consider sending a pull request with a fix.

@Ellegarden1219
Copy link

having same issue, tried to create 4 drag and drop circle for iOS device, but it only worked 2 touches

@slorber
Copy link
Contributor

slorber commented Jul 10, 2017

I am having same issue: move event does not fire anymore when there are 2 fingers in the screen

@slorber
Copy link
Contributor

slorber commented Jul 10, 2017

@antonKalinin
Copy link

antonKalinin commented Dec 1, 2017

Hi @slorber, I've just faced with same problem and it looks like PanResponder.onPanResponderMove don't work only when it place in Modal. I was trying to implement image view component with zoom in Modal and fail, but when I replaced Modal with simple View the handler started response.
There is an issue about this bug #14295

@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

6 participants