iOS5 - 水平溢出滚动由垂直触摸控制

mid*_*ric 6 css safari ipad ios5

可能重复:
使用-webkit-overflow-scrolling在iOS 5中滚动问题

我有一个带有更宽的子元素的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)