- fix: use focus instead of DomHandler.focus
parent
a2bb913294
commit
0402704c18
|
@ -191,7 +191,7 @@ export default {
|
|||
this.autoFocusAccept = null;
|
||||
this.autoFocusReject = null;
|
||||
|
||||
DomHandler.focus(this.target);
|
||||
focus(this.target);
|
||||
this.target = null;
|
||||
|
||||
this.unbindOutsideClickListener();
|
||||
|
|
|
@ -164,7 +164,7 @@ export default {
|
|||
},
|
||||
onLeave() {
|
||||
this.$emit('hide');
|
||||
DomHandler.focus(this.target);
|
||||
focus(this.target);
|
||||
this.target = null;
|
||||
this.focusableClose = null;
|
||||
this.focusableMax = null;
|
||||
|
|
Loading…
Reference in New Issue