react-native/Libraries/Components/Touchable
Eaden d63762194d Fix bug #5604 - Unrecognised signal for touchable no longer on the screen
Summary:Fixes bug https://github.com/facebook/react-native/issues/5604 ("Redscreen error when TouchRelease triggered on a component no longer in the tree")

( maybe not ideally )

This issue is triggered by the following:

A Touch event on a component ( Keep Pressing )
A state/props update removes the component from the tree and render is performed
A Touch Release event. ( When you release the press on the component no longer there )

This fix adds an early return to the signal handling code if a RESPONDER_RELEASE signal happens when the responder has disappeared
Closes https://github.com/facebook/react-native/pull/5637

Differential Revision: D3053729

Pulled By: sahrens

fb-gh-sync-id: 21a2a303d8921654607eaab824ef28fc16df9500
shipit-source-id: 21a2a303d8921654607eaab824ef28fc16df9500
2016-03-15 12:23:32 -07:00
..
BoundingDimensions.js fix Libraries/Components/Touchable lint warnings 2015-11-30 17:16:26 -08:00
Position.js Bugfix - Typos 2015-12-15 09:09:32 -08:00
Touchable.js Fix bug #5604 - Unrecognised signal for touchable no longer on the screen 2016-03-15 12:23:32 -07:00
TouchableBounce.js Add hitSlop prop on iOS and Android 2016-02-16 16:51:39 -08:00
TouchableHighlight.js Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
TouchableNativeFeedback.android.js Forward touchable events to TouchableNativeFeedback 2016-03-08 12:12:39 -08:00
TouchableNativeFeedback.ios.js [ReactNative] Add TouchableNativeFeedback to OSS 2015-08-26 01:31:52 -08:00
TouchableOpacity.js Add hitSlop prop on iOS and Android 2016-02-16 16:51:39 -08:00
TouchableWithoutFeedback.js Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
ensureComponentIsNative.js Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
ensurePositiveDelayProps.js Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00