- fix: use focus instead of DomHandler.focus
parent
a2bb913294
commit
0402704c18
|
@ -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();
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue