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

fix(AutoComplete): #7380 and #7276 #7391

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

aShu-guo
Copy link
Contributor

@aShu-guo aShu-guo commented Mar 1, 2024

修复#7380#7276 问题

复现步骤(必要条件:AutoComplete的默认插槽为InputSearch或TextArea组件时才会出现):

问题

问题1:

  1. 首先输入中文
  2. 点击输入框,中文自动消失

问题2:

  1. 首先输入中文,输入完毕后删除所有中文字符
  2. 再输入英文时无法正常输入

问题3:

  1. 首先输入英文,输入完毕后删除所有英文字符
  2. 再输入中文时,随便点击键盘中任意按键,中文消失

原因

在初次输入中文时,isCompositing状态与手动设置的e.target.composing标志不同步。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants