In the use of Jqmobi development app Base: Scrolling use, drag up, dynamic add data in the article, through the use of af.scroller.js to solve the pull refresh, drop-down add data function, but very strange, after many times after the drop, hair bottom of the blank more and more!!
The basic page panel code is as follows:
<div id= "JIEKUANSHENPI" title= "Loan Approval" class= "Panel" data-load= "Loadfirstpage
" data-tab= "Navbar_picture" data-nav= "main" data-defer= "jiekuanshenpi.html" >
</div>
The jiekuanshenpi.html code is as follows:
<ui class= "list" id= "Jiekuanshenpigrid" ></ui>
<script type= "Text/javascript" >
//omitted JS code
</script>
Omitted the JS code specific reference to use Jqmobi development app Base: Scrolling use, drag up and down, dynamic add data
After a number of pull down drag, dynamic loading data, found that the bottom of the gap is more and more large, and finally may exceed the height of the data. This thought is the height of the panel calculation error, but set height and worry about changing the other logic, think the final method is really so simple, remove the following sentence can be:
$ ("#" + Listpaneid). CSS ("Overflow", "Auto");
This is originally a demo inside the code, unexpectedly will bring me such a big trouble, at present only found this solution, very simple, also did not find out there are other adverse consequences.
Author: csdn Blog xuexiaodong2009
Back to the column page: http://www.bianceng.cnhttp://www.bianceng.cn/OS/extra/