Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当内容高度小于容器高度时,不能实现上拉和下拉动作 #48

Closed
tuzhichang opened this issue Apr 13, 2017 · 2 comments
Closed

Comments

@tuzhichang
Copy link

如果内容的高度没有超过容器高度,就没办法实现内容的弹性滚动,也就无法实现下拉刷新

@mingmo13
Copy link

我的解决办法是给内层元素加个min-height 101%

@ustbhuangyi
Copy link
Owner

本质上 better-scroll 的滚动原理是当内容的高度(宽度)超过外层容器的高度(宽度)才可以滚动,可以试试楼上的方法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants