mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 04:08:41 +08:00
FIX: fires onExpand/onCollapse when using arrows
This commit is contained in:
@ -84,11 +84,13 @@ export default Ember.Mixin.create({
|
||||
this.setProperties({ isExpanded: true, renderedBodyOnce: true, isFocused: true });
|
||||
this.focusFilterOrHeader();
|
||||
this.autoHighlight();
|
||||
this._boundaryActionHandler("onExpand", this);
|
||||
},
|
||||
|
||||
collapse() {
|
||||
this.set("isExpanded", false);
|
||||
Ember.run.schedule("afterRender", () => this._removeFixedPosition() );
|
||||
this._boundaryActionHandler("onCollapse", this);
|
||||
},
|
||||
|
||||
// lose focus of the component in two steps
|
||||
|
Reference in New Issue
Block a user