-
Notifications
You must be signed in to change notification settings - Fork 89
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
关于长页面的高度问题 #5
Comments
“-webkit-overflow-scrolling: touch;” 必须要给它一个固定的超出屏幕的高度才会出现滚动条,那如果我的某一个页面的内容是动态的,有时候可能没超出屏幕大小,所以就不需要滚动条,可有时候内容很长的话就需要滚动条出现,这个改怎么办呢? |
这一个没办法,在这种滚动的页面里面,我需要知道一个确切的高度来判断是不是长页面,你的内容不固定,只能在调用 pageSlider 之前,先自己动态计算一下这个内容的长度,然后再调用 pageSlider |
好的,感谢了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: