Skip to content

Commit

Permalink
Fix primefaces#5167 - Dropdown: panel closes while typing Japanese
Browse files Browse the repository at this point in the history
  • Loading branch information
suntel-nagamine committed Jan 29, 2024
1 parent ecdceba commit 57e4562
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/lib/dropdown/Dropdown.vue
Expand Up @@ -609,6 +609,10 @@ export default {
event.preventDefault();
},
onEnterKey(event) {
if (event.isComposing || event.keyCode === 229) {
return;
}
if (!this.overlayVisible) {
this.focusedOptionIndex = -1; // reset
this.onArrowDownKey(event);
Expand Down

0 comments on commit 57e4562

Please sign in to comment.