小程序 自定义弹窗出现后存在滚动穿透问题

解决方式:

在弹窗标签上添加属性:catchtouchmove="true",即可

<view class="alert-content" catchtouchmove="true">弹窗内的内容</view>

posted @ 2019-01-14 18:14  青芒灬  阅读(361)  评论(0编辑  收藏  举报