material icon indicating copy to clipboard operation
material copied to clipboard

select: used with dialog, creates additional scrollbar

Open mp-tbianchi opened this issue 10 years ago • 1 comments

Actual Behavior:

  • What is the issue? In certain conditions, md-select in an md-dialog creates additional scrollbars
  • What is the expected behavior? No additional scrollbar

CodePen (or steps to reproduce the issue): *

  • CodePen Demo which shows your issue: http://codepen.io/neglaya/pen/ezvQEx
  • Details: I forked a code example for md-dialog I found on the net and added specific conditions.

Angular Versions: *

  • Angular Version: 1.4.4
  • Angular Material Version: Latest from master branch

Additional Information:

  • Browser Type: * Chrome
  • Browser Version: * 51
  • OS: * Windows 10

When an md-select is inside an md-dialog and has these conditions :

  • Has a name attribute (to create the md-visually-hidden select)
  • Content is bigger than screen

Then an additional scrollbar is added in Chrome (tested in FF and Edge, problem didn't appear).

mp-tbianchi avatar Jun 29 '16 09:06 mp-tbianchi

@crisbeto - please verify CodePen with HEAD.

ThomasBurleson avatar Oct 18 '16 15:10 ThomasBurleson