收藏
回答

scroll-view导致父节点无法监听touch事件

<view class="in-wrap"

    bindtouchstart='eventTouchStart'

    bindtouchmove='eventTouchMove'>


    <scroll-view

        scroll-y

        style='height: {{height}}px;'

       bindscroll="scroll">

        ........

    </scroll-view>


</view>


scroll-view 导致 父节点的bindtouchmove  bindtouchmove 失效!!!!


有什么办法替代scroll-view 可以监听滚动事件的方法


回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容