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

在windows系统下,Select的tokenSeparators设置为中文逗号,交互出现错误 #36854

Open
ida-fe opened this issue Aug 2, 2022 · 3 comments
Labels

Comments

@ida-fe
Copy link

ida-fe commented Aug 2, 2022

Reproduction link

Edit on CodeSandbox

录屏:
https://user-images.githubusercontent.com/82094079/182516582-2ddd2550-3b11-46dd-8dd4-e367f433d3ae.mp4

Steps to reproduce

1、在select组件中输入111,并输入中文逗号(搜狗输入法)分割,111变为选中态
2、接着输入2,会发现选中态111消失

What is expected?

当输入2时,111依然是选中态

What is actually happening?

当输入2是,111消失

Environment Info
antd 4.22.3
React 16.14.0
System windows10
Browser chrome103.0.5060.134f
@afc163
Copy link
Member

afc163 commented Aug 3, 2022

录屏看看?

@ida-fe
Copy link
Author

ida-fe commented Aug 3, 2022

录屏看看?

已补充

@zhangfangbiao
Copy link

我也遇到了这个问题,如果tokenSeparators里面只写中文逗号不写英文逗号的话,中文状态输入111,输入逗号,然后输入2,表现和你的不一样
image

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

No branches or pull requests

3 participants