Skip to content

Commit

Permalink
[ReactNative] Fix fatal from long press
Browse files Browse the repository at this point in the history
  • Loading branch information
sahrens committed Apr 28, 2015
1 parent 282a207 commit 473acdb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
},
Expand Down

0 comments on commit 473acdb

Please sign in to comment.