Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
chore(menu): changed auto to hidden as there are some cases where aut…
Browse files Browse the repository at this point in the history
…o will cause issues
  • Loading branch information
Robert Messerle committed Jun 16, 2015
1 parent 5c08d5c commit 5bb722b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/util/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5bb722b

Please sign in to comment.