commit: e906677092ca2f38abd918436ea5967c096d555f
parent: 4f25e3d042fa92ba39cd3994c1de72193b2b9eb0
Author: Eugen <eugen@zeonfederated.com>
Date: Fri, 16 Sep 2016 11:20:39 +0200
Stop event propagation after IconButton onClick
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/app/assets/javascripts/components/components/icon_button.jsx b/app/assets/javascripts/components/components/icon_button.jsx
@@ -22,6 +22,7 @@ const IconButton = React.createClass({
handleClick (e) {
e.preventDefault();
this.props.onClick();
+ e.stopPropagation();
},
render () {