zoukankan      html  css  js  c++  java
  • 移动端拉伸下滑反弹

    ionic点击按钮展示详细内容,往下滑动,会出现反弹,稍等2秒左右时间再往下拉就可以.

    解决方法:

    $timeout(function () {

    $ionicScrollDelegate.$getByHandle('mainScroll')._instances[0].resize();
    $ionicScrollDelegate.$getByHandle('mainScroll')._instances[1].resize();

    //or by this way

    //$ionicScrollDelegate.$getByHandle('mainScroll').resize();
    //$ionicScrollDelegate.$getByHandle('mainScroll').resize();

    }, 400)

    mainScroll 需要在 ion-content里

  • 相关阅读:
    CodeForces
    HDU
    HDU
    POJ
    URAL
    POJ
    UVa
    UVa
    UVa
    UVa
  • 原文地址:https://www.cnblogs.com/ignacio/p/5750376.html
Copyright © 2011-2022 走看看