Skip to content

Commit

Permalink
Merge pull request #3593 from tintin1343/listItem-ripple
Browse files Browse the repository at this point in the history
[ListItem] Add stopPropagation in touch ripple to avoid touch event bubbling
  • Loading branch information
alitaheri committed Mar 7, 2016
2 parents b4cc161 + ebcb796 commit 2f258eb
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 2f258eb

Please sign in to comment.