Skip to content

Commit 57a4d6a

Browse files
VanMesslzq4047
authored andcommitted
Select: Fix default-first-option behavior when typing Chinese (ElemeFE#15431) (ElemeFE#15553)
* Select: Fix default-first-option behavior when typing Chinese (ElemeFE#15431) * Select: Fix missing param transmit * Select: callback style modify
1 parent 334c699 commit 57a4d6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/select/src/select.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@
445445
const text = event.target.value;
446446
if (event.type === 'compositionend') {
447447
this.isOnComposition = false;
448-
this.handleQueryChange(text);
448+
this.$nextTick(_ => this.handleQueryChange(text));
449449
} else {
450450
const lastCharacter = text[text.length - 1] || '';
451451
this.isOnComposition = !isKorean(lastCharacter);

0 commit comments

Comments
 (0)