[ReactNative] Fix fatal from long press

This commit is contained in:
Spencer Ahrens 2015-04-27 20:27:59 -07:00
parent 282a2071ad
commit 473acdbc74

View File

@ -436,6 +436,7 @@ var TouchableMixin = {
if (isTouchWithinActive) {
this._receiveSignal(Signals.ENTER_PRESS_RECT, e);
} else {
this._cancelLongPressDelayTimeout();
this._receiveSignal(Signals.LEAVE_PRESS_RECT, e);
}
},