mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
[FIX] prevents click on select-box from reaching parent elements
This commit is contained in:
parent
1612818e2b
commit
443573a62f
1 changed files with 4 additions and 0 deletions
|
@ -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 });
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue