Skip to content

Commit

Permalink
Fix f test
Browse files Browse the repository at this point in the history
  • Loading branch information
dk981234 committed Apr 23, 2024
1 parent 7ae1ddf commit 6028cc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/popup-view-model.ts
Expand Up @@ -36,8 +36,9 @@ export class PopupBaseViewModel extends Base implements IAnimationConsumer {
private visibilityAnimation: AnimationBoolean = new AnimationBoolean(this, (val) => {
if(this._isVisible !== val) {
if(!val) {
this.updateIsVisible(val);
this.updateOnHiding();
this.updateIsVisible(val);
this._isPositionSetValue = false;
}
else {
this.updateIsVisible(val);
Expand Down Expand Up @@ -250,7 +251,6 @@ export class PopupBaseViewModel extends Base implements IAnimationConsumer {
if (this.isFocusedContent && this.prevActiveElement) {
this.prevActiveElement.focus();
}
this._isPositionSetValue = false;
}
private focusContainer() {
if (!this.container) return;
Expand Down

0 comments on commit 6028cc2

Please sign in to comment.