Skip to content

Commit

Permalink
Select: Fix default-first-option behavior when typing Chinese (#15431) (
Browse files Browse the repository at this point in the history
#15553)

* Select: Fix default-first-option behavior when typing Chinese (#15431)

* Select: Fix missing param transmit

* Select: callback style modify
  • Loading branch information
VanMess authored and island205 committed Jun 25, 2019
1 parent 37c0a9f commit 43a44ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/select/src/select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@
const text = event.target.value;
if (event.type === 'compositionend') {
this.isOnComposition = false;
this.handleQueryChange(text);
this.$nextTick(_ => this.handleQueryChange(text));
} else {
const lastCharacter = text[text.length - 1] || '';
this.isOnComposition = !isKorean(lastCharacter);
Expand Down

0 comments on commit 43a44ad

Please sign in to comment.