Skip to content

Commit

Permalink
Merge pull request #6280 from charlie0228/master
Browse files Browse the repository at this point in the history
feat(Select): avoid IME input issue when typing in filter
  • Loading branch information
tugcekucukoglu authored Sep 10, 2024
2 parents 08340e2 + a409d43 commit 9948a50
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/primevue/src/select/Select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,12 @@ export default {
!this.virtualScrollerDisabled && this.virtualScroller.scrollToIndex(0);
},
onFilterKeyDown(event) {
const isComposing = event.isComposing;
// Avoid IME input issue in Chinese, Japanese and Korean languages
// If they are still typing, do not trigger onFilterKeyDown
if (isComposing) return;
switch (event.code) {
case 'ArrowDown':
this.onArrowDownKey(event);
Expand Down

0 comments on commit 9948a50

Please sign in to comment.