- fix: use focus instead of DomHandler.focus

pull/6170/head
uros 2024-08-01 23:35:51 +02:00
parent a2bb913294
commit 0402704c18
2 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ export default {
this.autoFocusAccept = null; this.autoFocusAccept = null;
this.autoFocusReject = null; this.autoFocusReject = null;
DomHandler.focus(this.target); focus(this.target);
this.target = null; this.target = null;
this.unbindOutsideClickListener(); this.unbindOutsideClickListener();

View File

@ -164,7 +164,7 @@ export default {
}, },
onLeave() { onLeave() {
this.$emit('hide'); this.$emit('hide');
DomHandler.focus(this.target); focus(this.target);
this.target = null; this.target = null;
this.focusableClose = null; this.focusableClose = null;
this.focusableMax = null; this.focusableMax = null;