Fixed #6279
parent
9948a50152
commit
2a9fffe3b3
|
@ -495,11 +495,9 @@ export default {
|
||||||
!this.virtualScrollerDisabled && this.virtualScroller.scrollToIndex(0);
|
!this.virtualScrollerDisabled && this.virtualScroller.scrollToIndex(0);
|
||||||
},
|
},
|
||||||
onFilterKeyDown(event) {
|
onFilterKeyDown(event) {
|
||||||
const isComposing = event.isComposing;
|
// Check if the event is part of a text composition process (e.g., for Asian languages).
|
||||||
|
// If event.isComposing is true, it means the user is still composing text and the input is not finalized.
|
||||||
// Avoid IME input issue in Chinese, Japanese and Korean languages
|
if (event.isComposing) return;
|
||||||
// If they are still typing, do not trigger onFilterKeyDown
|
|
||||||
if (isComposing) return;
|
|
||||||
|
|
||||||
switch (event.code) {
|
switch (event.code) {
|
||||||
case 'ArrowDown':
|
case 'ArrowDown':
|
||||||
|
|
Loading…
Reference in New Issue