diff --git a/src/core/util/util.js b/src/core/util/util.js index dd43663a445..97cec1b3c86 100644 --- a/src/core/util/util.js +++ b/src/core/util/util.js @@ -33,8 +33,8 @@ angular.module('material.core') offsetParent.getBoundingClientRect() : { left: 0, top: 0, width: 0, height: 0 }; return { - left: nodeRect.left - offsetRect.left + offsetParent.scrollLeft, - top: nodeRect.top - offsetRect.top + offsetParent.scrollTop, + left: nodeRect.left - offsetRect.left, + top: nodeRect.top - offsetRect.top, width: nodeRect.width, height: nodeRect.height };