scrollTo() method does not work on Blackberry #29

mikegordienko-devpronet opened this Issue Oct 31, 2012 · 0 comments


None yet
1 participant

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment