ant-design-vue
ant-design-vue copied to clipboard
Select搜索组件无法回显正确的title
trafficstars
- [x] I have searched the issues of this repository and believe that this is not a duplicate.
Version
4.2.6
Environment
macOS Monterey 12.7.6,Chrome 131.0.6778.205,[email protected]
Reproduction link
https://www.antdv.com/components/select-cn#components-select-demo-search
Steps to reproduce
复现步骤
- 在Select可搜索的input内;
- 切换到中文输入法;
- 输入中文拼音后保持不动(即在onCompositionStart和onCompositionEnd之间);
- 将鼠标移入到Options Item中(为了触发render),即可复现。
复现GIF
What is expected?
能够正常回显 简单的看了一下源码,应该是因为Selector/index.tsx中的compositionStatus判断错误导致的,理解可以在blur的时候重置一下该状态。
What is actually happening?
无法正确回显已选值的title

I need help...
I have the same problem
I need help...
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
