Stop event propagation after IconButton onClick

rebase/4.0.0rc2
Eugen 2016-09-16 11:20:39 +02:00 committed by GitHub
parent 4f25e3d042
commit e906677092
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ const IconButton = React.createClass({
handleClick (e) {
e.preventDefault();
this.props.onClick();
e.stopPropagation();
},
render () {