ant-design / ant-design-mobile

Essential UI blocks for building mobile web apps.

Home Page:https://mobile.ant.design

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

day-xue opened this issue · comments

Version of antd-mobile

5.33

What is this feature about?

No response

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