提交 df0c9bfd 编写于 作者: 雪洛's avatar 雪洛

fix: 修复scroll-view子元素使用百分比尺寸时大小不正确的Bug

上级 40e34e6c
......@@ -9,7 +9,10 @@
:style="{'overflow-x': scrollX?'auto':'hidden','overflow-y': scrollY?'auto':'hidden'}"
class="uni-scroll-view"
>
<div ref="content">
<div
ref="content"
class="uni-scroll-view-content"
>
<div
v-if="refresherEnabled"
ref="refresherinner"
......@@ -529,6 +532,11 @@ uni-scroll-view[hidden] {
max-height: inherit;
}
.uni-scroll-view-content {
width: 100%;
height: 100%;
}
.uni-scroll-view-refresher {
position: relative;
overflow: hidden;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册