Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[comp:select]下拉框搜索中文失败 #786

Closed
1 task done
zjgyb opened this issue Mar 5, 2022 · 1 comment · Fixed by #801
Closed
1 task done

[comp:select]下拉框搜索中文失败 #786

zjgyb opened this issue Mar 5, 2022 · 1 comment · Fixed by #801
Assignees
Labels
bug Something isn't working Comp:Select

Comments

@zjgyb
Copy link
Contributor

zjgyb commented Mar 5, 2022

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://codesandbox.io/s/01dq9n

Steps to reproduce

在输入框内输入中文,查看搜索状况

What is expected?

筛选出相应选项

What is actually happening?

未筛选

Environment Info

Vue^3.2.29
@idux^v1.0.0-beta.0(latest)
chrome: 99.0.4844.51

原因:onInput的触发时机快于onCompositionend,造成isComposing值未改变,搜索失败

@zjgyb zjgyb changed the title [comp:select] [comp:select] 下拉框搜索中文失败 [comp:select]下拉框搜索中文失败 Mar 5, 2022
@idux-bot
Copy link

idux-bot bot commented Mar 5, 2022

Translation of this issue:

[Comp: SELECT] [Comp: SELECT] drop-down box search Chinese failed

  • i Have Searched The [https://github.com/iduxfe/idux/issues) of this repository and believe That this is not a duplicate.

reproduction link

https://codesandbox.io/S/01dq9n

steps to reproduce

Enter Chinese in the input box to view your search

What is expected?

Screening out the appropriate options

What is actually happens?

Unfilled

Environment Info

Vue^3.2.29
@idux^v1.0.0-beta.0(latest)
chrome: 99.0.4844.51

Reason: onInput, the trigger is fast than the oncompositionendend, causing the iScomposing value has not changed, the search failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Comp:Select
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants