Fixed #4167
parent
c007c93c7b
commit
7eb405d3e5
|
@ -97,7 +97,6 @@ export default {
|
|||
},
|
||||
hide() {
|
||||
this.visible = false;
|
||||
DomHandler.focus(this.target);
|
||||
},
|
||||
onContentClick() {
|
||||
this.selfClick = true;
|
||||
|
@ -160,7 +159,10 @@ export default {
|
|||
}
|
||||
},
|
||||
onContentKeydown(event) {
|
||||
event.code === 'Escape' && this.hide();
|
||||
if (event.code === 'Escape') {
|
||||
this.hide();
|
||||
DomHandler.focus(this.target);
|
||||
}
|
||||
},
|
||||
onButtonKeydown(event) {
|
||||
switch (event.code) {
|
||||
|
|
Loading…
Reference in New Issue