From 443573a62f4c3b40ba329786feddb3f49a1f342c Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Wed, 25 Oct 2017 13:47:23 -0700 Subject: [PATCH] [FIX] prevents click on select-box from reaching parent elements --- .../select-box-kit/components/select-box-kit.js.es6 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/assets/javascripts/select-box-kit/components/select-box-kit.js.es6 b/app/assets/javascripts/select-box-kit/components/select-box-kit.js.es6 index 1f852a4fab6..6247aea505c 100644 --- a/app/assets/javascripts/select-box-kit/components/select-box-kit.js.es6 +++ b/app/assets/javascripts/select-box-kit/components/select-box-kit.js.es6 @@ -62,6 +62,10 @@ export default Ember.Component.extend(UtilsMixin, DomHelpersMixin, KeyboardMixin this._previousCSSContext = {}; }, + click(event) { + event.stopPropagation(); + }, + close() { this.setProperties({ isExpanded: false, isFocused: false }); },