ustbhuangyi / picker

[警告]该库作者不再维护,picker 的维护移交至 cube-ui
https://github.com/didi/cube-ui
867 stars 282 forks source link

2级联动scroll事件绑定的问题 #45

Closed semi-xi closed 7 years ago

semi-xi commented 7 years ago

./src/picker/picker.js文件第107行加入滚动的监听

this.wheels[index].on('scroll', () => {
        console.log(3333);
      });

发现并没有被监听,反而是scrolStart这些就可以,这是为什么呢

semi-xi commented 7 years ago

解决了,在new BScroll的时候传入参数probeType不为1即可