-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Stepper 组件在Chrome中onChange有问题 #891
Comments
刚试了我这边没复现,官网demo也没问题,确认你的版本? 请给我们一个可重现的在线demo吧,便于定位问题 https://codepen.io/warmhug/pen/bwRPvx 谢谢 |
这是一个基于Meteor的项目,暂时还没独立服务器,提供源代码可以吗? Chrome toggle device toolbar : |
https://mobile.ant.design/kitchen-sink/ 一直都是在chrome模拟器下调试 没法重现我这边没法帮你,在codepen上给一个重现demo就好了,参考我上面发你的链接 |
另外,check你的版本,最新1.0.1 |
问题类似: |
关联 react-component/input-number#48 这个bug只在chrome模拟器下有,真是环境真机和pc都不会有 |
mobile 的代码优先在真机上做测试 |
👍 |
Environment(required)
What did you do? Please provide steps to re-produce your problem.
在公司项目中,使用了最新的
antd-mobile@1.0.0
,demo中使用Stepper组件出现的问题What do you expected?
预期:按增加或者减少按钮,增加/减少 1
What happen?
实际:按下按钮单次增加/减少2,onChange会出发两次,在按下和抬起各执行一次。
Re-producible online demo
是公司项目在使用,所以只能提供该源代码:
The text was updated successfully, but these errors were encountered: