Skip to content
This repository has been archived by the owner. It is now read-only.

在ios 滑动不了? #31

Open
ghost opened this issue Dec 18, 2017 · 7 comments
Open

在ios 滑动不了? #31

ghost opened this issue Dec 18, 2017 · 7 comments

Comments

@ghost
Copy link

ghost commented Dec 18, 2017

会反弹到当前页面位置

@stackjie
Copy link
Owner

最好能提供demo给我 不然我怎么回答你

@codingSuperIdiot
Copy link

没有设置滚动内容外部容器的高度造成的

@motivi
Copy link

motivi commented Jun 20, 2018

default

@motivi
Copy link

motivi commented Jun 20, 2018

大神们, 帮我看看, 怎么回事, 也是 会反弹到当前页面位置.

@motivi
Copy link

motivi commented Jun 20, 2018

已经解决了, 🥇

@motivi
Copy link

motivi commented Jun 20, 2018

.page-height {
height: calc(100vh - 53px); /* 这个 必须 要 使用 */
/53px 是 tabbar 的 总高度, 用于 保证 页面 内容 能够 全部 被显示, 当 内容 超出 屏幕 并且 滑动条 处于 最低端 时./
}

@motivi
Copy link

motivi commented Jun 20, 2018

height: calc(100vh - 53px);

一定要使用100vh (view-height) 表示 屏幕 的 高

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

No branches or pull requests

3 participants