ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

Select搜索组件无法回显正确的title

Open QAQandBBQ opened this issue 10 months ago • 4 comments
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

复现步骤

  1. 在Select可搜索的input内;
  2. 切换到中文输入法;
  3. 输入中文拼音后保持不动(即在onCompositionStart和onCompositionEnd之间);
  4. 将鼠标移入到Options Item中(为了触发render),即可复现。

复现GIF

  • 具体复现视频

What is expected?

能够正常回显 简单的看了一下源码,应该是因为Selector/index.tsx中的compositionStatus判断错误导致的,理解可以在blur的时候重置一下该状态。

What is actually happening?

无法正确回显已选值的title

QAQandBBQ avatar Jan 16 '25 06:01 QAQandBBQ

复现GIF

QAQandBBQ avatar Jan 17 '25 01:01 QAQandBBQ

I need help...

QAQandBBQ avatar Feb 08 '25 05:02 QAQandBBQ

I have the same problem

Xin-arwanas avatar Mar 31 '25 02:03 Xin-arwanas

I need help...

itzwg avatar Apr 17 '25 06:04 itzwg

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

github-actions[bot] avatar Jun 17 '25 03:06 github-actions[bot]