material icon indicating copy to clipboard operation
material copied to clipboard

md-dialog : Two scroll bars are appearing

Open chinnichaitanya opened this issue 11 years ago • 5 comments

I'm facing the issue of having two vertical scroll bars for a dialog inside which I have a form. Here is the codepen.

This is seen in chromium-browser (version - 41.0.2272.76) along with the latest release of angular-material (version 0.9.7). There is no issue with firefox (version - 38.0) though.

chinnichaitanya avatar Jun 05 '15 07:06 chinnichaitanya

+1 Still happens in 0.10.0 you can even see in in the md-dialog demo, just open, close and reopen the custom dialog and you will have two vertical scrollbars

stefan-schweiger avatar Jun 25 '15 14:06 stefan-schweiger

md-dialog > form {
    overflow: visible;
}

this fixed it for me.

stefan-schweiger avatar Jun 26 '15 10:06 stefan-schweiger

I'm having the same issue in 0.10.1-rc1 when I use md-icon-button inside md-actions div. Removing the top and bottom margin from the icon button fixes the issue.

md-dialog .md-actions .md-button.md-icon-button {
    margin-top: 0;
    margin-bottom: 0;
}

2015-07-08_13h53_20

jb29 avatar Jul 08 '15 12:07 jb29

This is still happening on 0.10.1, when you have content (like directives) where the wrapper div takes no space and its children takes up space, two scroll bars appear after you scroll to the bottom of the initial content. So weird.

pencilcheck avatar Aug 31 '15 12:08 pencilcheck

Using the latest build from Bower-Master, the CodePen no longer manifests this issue.

ThomasBurleson avatar Sep 01 '15 05:09 ThomasBurleson