From e906677092ca2f38abd918436ea5967c096d555f Mon Sep 17 00:00:00 2001 From: Eugen Date: Fri, 16 Sep 2016 11:20:39 +0200 Subject: Stop event propagation after IconButton onClick --- app/assets/javascripts/components/components/icon_button.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/components/components/icon_button.jsx b/app/assets/javascripts/components/components/icon_button.jsx index b41752890..b7f2366ba 100644 --- 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 () { -- cgit