mid*_*ric 6 css safari ipad ios5
我有一个带有更宽的子元素的div,它被设置为-webkit-overflow-scrolling:touch.
在页面加载时,在横向方向上,要水平滚动div,您必须垂直向上和向下移动div.所以向上和向下移动滚动向右滚动.切换到纵向然后返回横向方向滚动按预期工作 - 水平触摸移动水平滚动.使用-webkit-overflow-scrolling设置为auto我没有看到这个问题.谷歌搜索没有结果,有没有其他人遇到过这种行为?
我的css:
#stream-container-outer {
width: 925px;
margin: 0 auto;
overflow: auto;
-webkit-overflow-scrolling: touch;
}
#stream-container {
width: 900%;
}
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
455 次 |
最近记录: |