Skip to content

Commit

Permalink
Add stopPropagation in touch ripple to avoid touch event bubbling
Browse files Browse the repository at this point in the history
Resolves #3556
  • Loading branch information
tintin1343 committed Mar 6, 2016
1 parent 384e35d commit ebcb796
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ripples/touch-ripple.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ const TouchRipple = React.createClass({
},

_handleTouchStart(event) {
event.stopPropagation();
//If the user is swiping (not just tapping), save the position so we can
//abort ripples if the user appears to be scrolling
if (this.props.abortOnScroll && event.touches) {
Expand Down

0 comments on commit ebcb796

Please sign in to comment.