My favorites | Sign in
Project Home Downloads Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 13: 'Scroller' div has all styles removed/replaced
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  mat...@gmail.com
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

Powered by Google Project Hosting