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

SearchBar在模拟器输入中文时调用onChange显示问题

Open poohlaha opened this issue 1 year ago • 4 comments

Version of antd-mobile

5.33.2

Operating system and its version

No response

Browser and its version

Safari17.0

Sandbox to reproduce

No response

What happened?

在SearchBar中输入中文, 比如: de的拼音中文字是 , 调用onChange方法, 显示如下 image 中文输入后有个地方打印出了空字符串,是有问题的, 如果要在输入为空的时候做些其他事件就会有问题了

Relevant log output

No response

poohlaha avatar Jan 03 '24 04:01 poohlaha

image

poohlaha avatar Jan 03 '24 04:01 poohlaha

Hi, poohlaha.

Please provide a online reproduction so that we can help you troubleshoot the problem. You can create a demo by codesandbox or stackblitz.

我们需要你提供一个在线的重现实例,以便于我们帮你排查问题。你可以通过 codesandboxstackblitz 创建一个实例。

github-actions[bot] avatar Jan 04 '24 03:01 github-actions[bot]

代码也贴上来吧

1587315093 avatar Jan 04 '24 03:01 1587315093

代码如下: image

用真机测试正常的,模拟器不行,不知道为什么,如果觉得这个不是问题,就关掉吧

poohlaha avatar Jan 15 '24 00:01 poohlaha