diff --git a/src/core/util/util.js b/src/core/util/util.js index 66bacd8e545..cc7072abfbe 100644 --- a/src/core/util/util.js +++ b/src/core/util/util.js @@ -116,7 +116,7 @@ angular.module('material.core') top: -scrollOffset + 'px' }); - if (body.clientWidth < clientWidth) applyStyles(body, { overflow: 'auto' }); + if (body.clientWidth < clientWidth) applyStyles(body, { overflow: 'hidden' }); return function restoreScroll() { body.setAttribute('style', restoreStyle);