Stop event propagation after IconButton onClick
This commit is contained in:
1 parent
4f25e3d042
commit
e906677092
1 file changed
+1
@@ -22,6 +22,7 @@ const IconButton = React.createClass({
|
||||
handleClick (e) {
|
||||
e.preventDefault();
|
||||
this.props.onClick();
|
||||
e.stopPropagation();
|
||||
},
|
||||
|
||||
render () {
|
||||
|
||||
Reference in new issue
Block a user