pull/4176/head
mertsincan 2023-07-20 11:01:18 +01:00
parent c007c93c7b
commit 7eb405d3e5
1 changed files with 4 additions and 2 deletions

View File

@ -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) {