【问题标题】:-webkit-overflow-scrolling: touch on android-webkit-overflow-scrolling:触摸 android
【发布时间】:2014-06-19 07:50:46
【问题描述】:

我刚刚用 Cordova 完成了我的 iOS 应用程序的开发。所以现在我想在 Android 上做同样的事情。一切正常,但是:您不能过度滚动内容。我有一个固定的页眉/页脚,然后是图片,然后是一些导航点。

在 iOS 上,您可以滚动内容,以便在后台看到客户端徽标。在 Android 上这不起作用,您不能过度滚动内容以查看徽标。

我读到 -webkit-overflow-scrolling: touch and overflow: scroll 在 Android 上不起作用。但这些问题是 2011 年的。难道现在还不能让内容在 Android 上滚动吗?

谢谢!!

.ScrollableWrapper {
    overflow: scroll;
    -webkit-overflow-scrolling: touch; /*to make it smooth as native*/
    background:url(../img/start/bg_wrapper.jpg)no-repeat scroll 0 0 / 320px 480px rgba(0, 0, 0, 0);
    top: 45px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    position: fixed;
}

 #header {
    padding-top: 0px;
    margin: 0px;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 320px;
    z-index: 2;
    max-height: 45px !important;
    height: 45px !important;
}

#foooter {
    position: fixed;
    bottom: 0px;
    z-index: 2000;
    width: 100%;
    height: 58px;
}

【问题讨论】:

    标签: android html ios css cordova


    【解决方案1】:

    也许你可以看看iScroll

    【讨论】:

      猜你喜欢
      • 2015-03-12
      • 1970-01-01
      • 1970-01-01
      • 2012-02-04
      • 1970-01-01
      • 2014-09-27
      • 1970-01-01
      • 2016-01-28
      • 2012-02-13
      相关资源
      最近更新 更多