mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +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 = {};
|
this._previousCSSContext = {};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
click(event) {
|
||||||
|
event.stopPropagation();
|
||||||
|
},
|
||||||
|
|
||||||
close() {
|
close() {
|
||||||
this.setProperties({ isExpanded: false, isFocused: false });
|
this.setProperties({ isExpanded: false, isFocused: false });
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user