Skip to content

Commit

Permalink
Update library file.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSouthpaw authored Dec 15, 2016
1 parent 36b6d08 commit 30bcc1a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/TappableMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ var Mixin = {
this.processEvent(event);
window._blockMouseEvents = true;
if (event.touches.length === 1) {
// SyntheticEvent objects are pooled, so persist the event so it can be referenced asynchronously
event.persist();
this._initialTouch = this._lastTouch = getTouchProps(event.touches[0]);
this.initScrollDetection();
this.initPressDetection(event, this.endTouch);
Expand Down Expand Up @@ -342,4 +344,4 @@ var Mixin = {
}
};

module.exports = Mixin;
module.exports = Mixin;

0 comments on commit 30bcc1a

Please sign in to comment.