Merge pull request #6280 from charlie0228/master
feat(Select): avoid IME input issue when typing in filterpull/6378/head
commit
9948a50152
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue