scroll-view导致父节点无法监听touch事件
发布于 5 年前 作者 yangxie 11467 次浏览 来自 问答

<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 可以监听滚动事件的方法


回到顶部