提交 e0316225 编写于 作者: C Christopher Leidigh

Toggle _isVisible after transition

上级 71d548cf
......@@ -228,11 +228,11 @@ export abstract class SimpleFindWidget extends Widget {
public hide(): void {
if (this._isVisible) {
this._isVisible = false;
dom.removeClass(this._innerDomNode, 'visible-transition');
this._innerDomNode.setAttribute('aria-hidden', 'true');
// Need to delay toggling visibility until after Transition, then visibility hidden - removes from tabIndex list
setTimeout(() => {
this._isVisible = false;
dom.removeClass(this._innerDomNode, 'visible');
}, 200);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册