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

发布于 6 年前作者 yangxie11681 次浏览最后编辑 6 年前来自 ask

<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 回复