Comments (3)
这个问题很好解决,在picker.js Line64 后面增加
解释:
循环所有wheel,检测是否正在进行动画,是的话立即触发scrollEnd,并且跳出循环
from picker.
https://ustbhuangyi.github.io/better-scroll/#/examples/picker 推荐看看这个
from picker.
老大,你发的链接倒是能解决问题,有源码么
from picker.
Related Issues (20)
- 您好 请问如何修改样式呢 想把字体改小点 HOT 1
- 确定和取消不可以自己修改吗? HOT 1
- scrollColumn只有在change的时候才是有用的 HOT 1
- 请问,wheel-scroll-hook 可以增加title的吗?
- BUG 提交 HOT 1
- 这个有时候会出现bug HOT 1
- 不知道在vue-cli中是怎样写的
- refill bug HOT 2
- 你好,现在还维护吗 HOT 2
- new、refill之后出现
- 用楼主的picker做了一个五级地址选择器,分成两个picker(A,B)选择器,A选择完之后,需要出发B的更新,refill会导致无法滚动,refillColumn则直接报错
- 如何通过value值,选中默认值,而不是用index
- refill方法无法数据填充。 HOT 2
- chrome 调试,响应模式,不能正常滑动,只能点击
- 本地运行没问题,发布的时候报错
- 在安卓6.0以下显示不了日期
- 在一个页面调用两次以上要怎么使用呢 HOT 1
- 当数组很大时(size 130),选择器会很卡顿 HOT 2
- picker 在微信开发者工具中不能滑动,在真机却能滑动,这个有啥解决方法吗?还望指教
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from picker.