mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Fixed #4167
This commit is contained in:
parent
c007c93c7b
commit
7eb405d3e5
1 changed files with 4 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue