[FIX] prevents click on select-box from reaching parent elements

This commit is contained in:
Joffrey JAFFEUX 2017-10-25 13:47:23 -07:00 committed by GitHub
parent 1612818e2b
commit 443573a62f
1 changed files with 4 additions and 0 deletions

View File

@ -62,6 +62,10 @@ export default Ember.Component.extend(UtilsMixin, DomHelpersMixin, KeyboardMixin
this._previousCSSContext = {}; this._previousCSSContext = {};
}, },
click(event) {
event.stopPropagation();
},
close() { close() {
this.setProperties({ isExpanded: false, isFocused: false }); this.setProperties({ isExpanded: false, isFocused: false });
}, },