代码拉取完成,页面将自动刷新
【需求价值】:
存在Scroll容器嵌套web组件的场景
【需求描述】:
Scroll嵌套Web滑动
【方案描述】:
Scroll() {
Columu() {
Button('test')
Web({src: 'https://gitee.com/openharmony/docs/issues', controller: new WebController()})
.width('100%')
}
.width('100%')
.height('120%')
}.width('100%')
.height('100%')
Button区域可以滑动,但Web区域无法滑动
【配套文档】:
【验收标准】:
Scroll嵌套Web滑动