Scroll bar takes time to appear

I found JS ready to use a scroll bar in Mobile this site: http://cubiq.org/iscroll-4

My list is filled with autocomplete in input ..

Takes a few minutes to scroll bar appears.(Sometimes displays after several minutes and sometimes not displayed at all)

until it appears when I try to drag down, the list jumps up

anyone have any idea why this is happening?

My JS:

 myScroll = new iScroll('wrapper');// **in Document.ready**

My HTML:

<div id="wrapper">
            <ul class="Result" data-role="listview" data-inset="true" dir="rtl">
            </ul>
        </div>

My css:

#wrapper
{
    z-index: 5000;
    width: 30%;
    position: absolute;
    margin-left: 37%;
}

Answers


Try this maybe:

myScroll = new iScroll('wrapper', {fadeScrollbar: false});

Need Your Help

Forcefully destroy PHP FTP Connection

php

I am downloading zip files from FTP server using PHP ftp function.I used binary and passive mode to get file.

Cannot create a row of size 8064 which is greater than the allowable row size of 8060

sql-server sql-server-2008

I've have this strange problem when adding a column to an existing table.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.