mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Fixed #5138 - Dropdown: esc keypress propagates and triggers close in dialogs
This commit is contained in:
parent
9ab22ea0a0
commit
83818568a4
1 changed files with 1 additions and 0 deletions
|
@ -630,6 +630,7 @@ export default {
|
||||||
onEscapeKey(event) {
|
onEscapeKey(event) {
|
||||||
this.overlayVisible && this.hide(true);
|
this.overlayVisible && this.hide(true);
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
event.stopPropagation();
|
||||||
},
|
},
|
||||||
onTabKey(event, pressedInInputText = false) {
|
onTabKey(event, pressedInInputText = false) {
|
||||||
if (!pressedInInputText) {
|
if (!pressedInInputText) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue