使用小程序web-view组件 disableScroll不生效为啥?

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

使用小程序web-view组件  当前页面 .json 设置 “disableScroll”:true 页面依然可以下滑,并没有阻止页面滚动

2 回复
guming
guming1 楼5 年前

页面高度设置为 100wh。overflow: hidden 试试

clong
clong2 楼5 年前

{“options”:[{“title”:“机型”,“tip”:“机型”,“isPrivate”:true,“error”:“”},{“title”:“版本号”,“tip”:“版本”,“isPrivate”:true,“error”:“”},{“title”:“代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)“,“tip”:“代码片段”,“isPrivate”:true,“error”:”"}],“imageSet”:2,“imageSetName”:“上传图片”,“DocId”:"00088c6e7dc2a88712db6d51656000”}