Files
react-native/Libraries/Components
PIYUSH GUPTA 59e50237bf 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-03 10:45:35 -07:00
..
2019-03-14 07:00:27 -07:00
2019-03-14 07:00:27 -07:00
2019-01-16 13:34:17 -08:00
2019-01-22 05:49:36 -08:00
2019-01-16 13:10:52 -08:00
2019-03-08 11:39:41 -08:00
2019-01-16 13:53:53 -08:00
2019-01-22 05:55:50 -08:00
2019-02-20 23:37:35 -08:00