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

picker 组件,有时不会触发 onPickerChange 事件 #3174

Closed
1 task
zw130633 opened this issue Apr 17, 2019 · 4 comments
Closed
1 task

picker 组件,有时不会触发 onPickerChange 事件 #3174

zw130633 opened this issue Apr 17, 2019 · 4 comments
Assignees

Comments

@zw130633
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://mobile.ant.design/components/picker-cn/

Steps to reproduce

不需要特别的场景和特别的代码段。picker 组件,选择每列数据时(滚动每列数据时),刚好滚动到它所属区域的最中间位置时,不会触发 onPickerChange 事件,联动效果失效。就用官方的省市区联动示例就可以试出来。

What is expected?

picker 组件,当每项数据滚动到它所属区域的最中间位置时,依然能触发 onPickerChange 事件

What is actually happening?

picker 组件,当每项数据滚动到它所属区域的最中间位置时,没有触发 onPickerChange 事件

Environment Info
antd 2.2.1
React 16.2.0
System windows
Browser 所有浏览器
@zw130633 zw130633 changed the title picker 组件,有时不会触发 onPickerChange 事件,复现率很高 picker 组件,有时不会触发 onPickerChange 事件 Apr 17, 2019
@ziluo ziluo assigned zhou-yg and unassigned doxiaodong May 30, 2019
@zhou-yg
Copy link
Contributor

zhou-yg commented May 31, 2019

感谢反馈,确认是依赖的底层组件rmc-picker/Picker的bug引起的,已修复并提交

@zhou-yg zhou-yg closed this as completed May 31, 2019
@yijinc
Copy link

yijinc commented Apr 25, 2020

我依旧存在这个问题
"antd-mobile": "^2.3.1"

@daoke0818
Copy link

daoke0818 commented Jun 9, 2020

我这里也偶现过……2.3.1

@YANGOSC
Copy link

YANGOSC commented Sep 3, 2020

这个问题还是存在啊,create react app , ts, 2.3.3 antd mobile

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

No branches or pull requests

6 participants