On line 20 (or thereabouts, depending on the version of iScroll), is the
following line:
this.element.setAttribute('style', style);
This line effectively removes all previous inline styles set on the DOM
element. (Discovered after some pretty long debugging time.)
Please change this piece of code to set the styles as follows:
this.element.style.webkitTransitionProperty = "-webkit-transform";
this.element.style.webkitTransitionTimingFunction = "cubic-bezier(0,0,0.25,1)";
this.element.style.webkitTransitionDuration = "0";
this.element.style.webkitTransform = (has3d? "translate3d(0,0,0)" :
"translate(0,0)");
Original issue reported on code.google.com by t...@speednet.biz on 3 Jul 2010 at 1:59
Original issue reported on code.google.com by
t...@speednet.biz
on 3 Jul 2010 at 1:59