From b3b9bd6a8e83495a421556867362f91e52062c62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Bambu=C5=A1ek?= Date: Mon, 21 Sep 2015 20:12:11 +0200 Subject: [PATCH] added event propagation to click-awayable mixin --- src/mixins/click-awayable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mixins/click-awayable.js b/src/mixins/click-awayable.js index deb229b00a0829..66e2536acef97e 100644 --- a/src/mixins/click-awayable.js +++ b/src/mixins/click-awayable.js @@ -22,7 +22,7 @@ module.exports = { if (event.target !== el && !Dom.isDescendant(el, event.target) && document.documentElement.contains(event.target)) { - if (this.componentClickAway) this.componentClickAway(); + if (this.componentClickAway) this.componentClickAway(event); } },