TouchScroll is a JavaScript- and CSS 3-based scroller for devices using Webkit Mobile. It is meant to mimic “native” scrolling feeling and behavior as much as possible.
There's a page with a list. When you click on the list item the content for the item is loaded via ajax. In ajax callback .scrollTo() method is used to scroll the page up. And this method makes error. I've found that bug appears here:
getMatrixFromNode = function(/HTMLElement/node){ /WebKitCSSMatrix/
var doc = node.ownerDocument,
transform = window.getComputedStyle(node).webkitTransform;
return new WebKitCSSMatrix(transform);
}
typeof WebKitCSSMatrix returns 'object' instead of 'function'
There's a page with a list. When you click on the list item the content for the item is loaded via ajax. In ajax callback .scrollTo() method is used to scroll the page up. And this method makes error. I've found that bug appears here: getMatrixFromNode = function(/HTMLElement/node){ /WebKitCSSMatrix/ var doc = node.ownerDocument, transform = window.getComputedStyle(node).webkitTransform;
typeof WebKitCSSMatrix returns 'object' instead of 'function'