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

如何避免使用中文输入法时输入拼音的时候触发change事件 #6485

Closed
day-xue opened this issue Dec 18, 2023 · 1 comment
Closed
Labels

Comments

@day-xue
Copy link
Contributor

day-xue commented Dec 18, 2023

Version of antd-mobile

5.33

What is this feature about?

No response

@zombieJ
Copy link
Member

zombieJ commented Dec 18, 2023

这是 React 原生行为,受控必须保持 value 同步否则会导致输入不了中文。如果不需要关心中间态,可以自行 HOC 一下只抛出非 Composition 态下的事件。

@zombieJ zombieJ closed this as completed Dec 18, 2023
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

2 participants