mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 18:12:10 +08:00
[FIX] prevents click on select-box from reaching parent elements
This commit is contained in:
@ -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 });
|
||||
},
|
||||
|
Reference in New Issue
Block a user