material icon indicating copy to clipboard operation
material copied to clipboard

md-content no longer scrolls correctly in Chrome 44

Open hodeyp opened this issue 11 years ago • 6 comments

The latest version of Chrome (44.0.2403.107) on the mac no longer supports md-content overflow scrolling.

In previous versions, (as well as Safari) the md-content element would expand to fill the available space and overflow would scroll. In the latest version of Chrome, the md-content section grows to fit the child elements instead.

hodeyp avatar Jul 26 '15 16:07 hodeyp

take a look at https://code.google.com/p/chromium/issues/detail?id=506893

This explains the new default behaviour in Chrome, it suggests adding * {min-height:0} to css

hodeyp avatar Jul 26 '15 16:07 hodeyp

I woke up to this same behavoir. I eventually found it was due to my use with nested ui-views with ui-router, so exactly what @hodeyp links to as nested flex columns.

dgavigan avatar Jul 27 '15 16:07 dgavigan

@hodeyp Thanks for this !

I have changed only the flex attribute on my custom css file:

[flex] {
    min-height: 0;
    min-width: 0;
}

gamaro7 avatar Jul 30 '15 15:07 gamaro7

@goncaloneves Thanks for the fix...working for now.

Seems related to: #4022

nkoterba avatar Aug 06 '15 04:08 nkoterba

Do any of you have a specific example/codepen you can provide that shows exactly how it's failing in material? I'd like to make sure we get a good/performant fix in.

topherfangio avatar Aug 14 '15 18:08 topherfangio

Fixed with SHA 303ab0dc0e695f

ThomasBurleson avatar Aug 31 '15 18:08 ThomasBurleson