码迷,mamicode.com
首页 > 移动开发 > 详细

移动端拉伸下滑反弹

时间:2016-08-08 18:53:09      阅读:141      评论:0      收藏:0      [点我收藏+]

标签:

 

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)

 

或者

移动端拉伸下滑反弹

标签:

原文地址:http://www.cnblogs.com/ignacio/p/5750376.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!