html - why horizontal Scrolling done by jquery mobile is very slow in android phone? -
i have implemented div image in it.initially div has class div1. when checkbox checked removed class div1 div , added div2 using jquery mobile. when ran project of android phone vertical scrolling working fine horizontal scrolling irritating. horizontal scrolling moving little. moving as movement providing 1 click scroller on browser. need solution. can 1 please ?
my html :
<div id="mydiv" class="div1"> <img id="img1" src="images/desert.jpg"></img> </div>
my css:
.div1 { margin-top:5px; margin-left:0px; border-width:5px; border-style:solid; border-color:#000000; overflow: scroll !important; -webkit-overflow-scrolling: touch !important; } .div2 { margin-top:5px; margin-left:0px; border-width:5px; border-style:solid; border-color:#000000; }
i have noted before on firefox on platform, browser-side option "smooth scrolling" cause.
i'm not sure if reason in case, since searched hours solution, might too...
Comments
Post a Comment