FIX: fires onExpand/onCollapse when using arrows

This commit is contained in:
Joffrey JAFFEUX
2018-03-22 18:35:46 +01:00
committed by GitHub
parent 841e2ba723
commit cbbeedf53b
3 changed files with 5 additions and 5 deletions

View File

@ -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