Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
fix(select): fix scrollbars not respecting parent overflow hidden
Browse files Browse the repository at this point in the history
references #2379
  • Loading branch information
rschmukler committed Apr 20, 2015
1 parent 2d66368 commit b9ee612
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 @@ -129,7 +129,7 @@ angular.module('material.core')

function computeScrollbars(computedStyle) {
var scrollBarsShowing = !Util.floatingScrollbars() &&
isScrolling(scrollEl);
isScrolling(scrollEl) && computedStyle.overflowY != 'hidden';

if (scrollBarsShowing) {
disableTarget.css('overflow-y', 'scroll');
Expand Down

0 comments on commit b9ee612

Please sign in to comment.