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

解决方式:

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

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

猜你喜欢

转载自www.cnblogs.com/muou2125/p/10268317.html
今日推荐