Files
react-native/Libraries/Components
PIYUSH GUPTAandMike Grabowski 05723ed08a fixed touchable longpress (#24238)
Summary:
This diff fixes a bug in TouchableNativeFeedback where a long press is not registered.

cause of the bug is _touchableHandleResponderMove_ being invoked **regardless** of a moving gesture ( even when movedDistance is 0) in some devices ( including OnePlus5t ), which was eventually clearing out  the long-press timeout.

fix is to prevent _touchableHandleResponderMove_ from Implementing if the state of touchable is RESPONDER_INACTIVE_PRESS_IN.

[General] [Fixed] - Touchable onLongPress fix.
Pull Request resolved: https://github.com/facebook/react-native/pull/24238

Reviewed By: cpojer

Differential Revision: D14712986

Pulled By: rickhanlonii

fbshipit-source-id: e85a66a7e8b61e0a33146b2472e2e055726a0e93
2019-04-08 23:16:42 +02:00
..
2019-01-16 13:03:24 -08:00
2019-01-16 13:34:17 -08:00
2019-01-22 02:12:42 -08:00
2019-01-22 05:49:36 -08:00
2019-01-16 13:10:52 -08:00
2019-02-01 09:35:42 -08:00
2019-01-22 05:44:54 -08:00
2019-01-16 13:53:53 -08:00
2019-01-22 05:55:50 -08:00