Issue 13: 'Scroller' div has all styles removed/replaced
Status:  Fixed
Owner:
Closed:  Jul 2010
Reported by t...@speednet.biz, Jul 2, 2010
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)");


Jul 2, 2010
Project Member #1 mat...@gmail.com
Already in my to-do.
Status: Accepted
Owner: matt3o
Jul 5, 2010
Project Member #2 mat...@gmail.com
(No comment was entered for this change.)
Status: Fixed