l-hammer/v-track

custom.show区域展示时不兼容css3的transform的滚动操作

pegziq opened this issue · 2 comments

现在移动端很多操作都是基于transform,使用custom.show区域展示时无法监听

修饰符.custom.show表示监听滚动容器自定义的scroll方法,所以需要传递滚动容器的refv-track来实现监听。以cube-ui的Scroll组件为例,代码如下:

<cube-scroll ref="scroll" v-track:18015.show.custom="{ ref: 'scroll' }" />

ok啦