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

PanResponder major bug while using react-native ^0.55.4 #19952

Closed
lukebrandonfarrell opened this issue Jun 28, 2018 · 4 comments
Closed

PanResponder major bug while using react-native ^0.55.4 #19952

lukebrandonfarrell opened this issue Jun 28, 2018 · 4 comments
Labels
API: PanResponder Bug Resolution: Locked This issue was locked by the bot.

Comments

@lukebrandonfarrell
Copy link

Environment

Environment:
OS: macOS High Sierra 10.13.5
Node: 10.5.0
Yarn: 1.7.0
npm: 6.1.0
Watchman: 4.9.0
Xcode: Xcode 9.4.1 Build version 9F2000
Android Studio: 3.1 AI-173.4819257

Packages: (wanted => installed):
react: ^16.1.0 => 16.2.0
react-native: ^0.55.4 => 0.55.4

Description

Hey folks,

There seems to be an issue in the newer versions of React Native when using multiple PanResponders in one scene. Triggering one PanResponder causes all the other PanResponders to trigger.

panresponder_bug

This may be the underlying issue with #19244. Who is also having problems with PanResponder in react-native ^0.55.0.

Steps to Reproduce

You can go here and install this package which will allow you to reproduce the error: https://github.com/lukebrandonfarrell/react-native-images-collage/tree/panresponder_bug

Expected Behavior

Only one image should move.

@jakallergis
Copy link

I have the same problem! This is related to #20215 #19244 and is really frustrating. the translateY/X workaround is working but it doesn't change drag the parent layout with it so its not for every scenario. This doesn't fix it.

For me it happend after I upgraded to 0.55.0

@jakallergis
Copy link

I can confirm that this is fixed now.
My project deps:
react: 16.5.0
react-native: 0.57.1

@stale
Copy link

stale bot commented Jan 16, 2019

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Jan 16, 2019
@hramos hramos removed the 🔶APIs label Jan 24, 2019
@stale stale bot removed the Stale There has been a lack of activity on this issue and it may be closed soon. label Jan 24, 2019
@hramos hramos removed the Bug Report label Feb 6, 2019
@patrickkempff
Copy link
Contributor

Thanks for reaching out! I'm closing this because this issue seems to be resolved. If the issue still persists in the latest version of React Native, please feel free to file a new issue report. Thank you.

@facebook facebook locked as resolved and limited conversation to collaborators Feb 17, 2020
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Feb 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API: PanResponder Bug Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

5 participants