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多列同时滚动 #199

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

nisiyu
Copy link

@nisiyu nisiyu commented Nov 27, 2017

在用cascade-picker组件时,在手机端如果用一只手指在最左列向上滑,另一只手指在第二列向下滑(或者反过来尝试多次),有一定几率会产生一个取数据错位的bug。
wechatimg341

我的解决方法就是:设定一个全局的锁,这样有picker的一列正在滚动时,另外的列就会被禁止滚动,这样就能规避掉多个手指操作的问题。

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

Successfully merging this pull request may close these issues.

None yet

1 participant