今天遇到个问题,使用PullRefresh组件时,无论滚动条滚动到哪里,只要页面向下拉,页面的滚动条都还没到顶就触发下拉刷新
在网上找了一下,可终于找到方法了
.van-pull-refresh {
height: calc(100vh - 100px) !important;
overflow: auto !important;
}
.van-list { height: auto !important; }
这样就可以实现解决问题了
今天遇到个问题,使用PullRefresh组件时,无论滚动条滚动到哪里,只要页面向下拉,页面的滚动条都还没到顶就触发下拉刷新
在网上找了一下,可终于找到方法了
.van-pull-refresh {
height: calc(100vh - 100px) !important;
overflow: auto !important;
}
.van-list { height: auto !important; }
这样就可以实现解决问题了