material icon indicating copy to clipboard operation
material copied to clipboard

md-select doesn't flex

Open stevenmiles opened this issue 11 years ago • 8 comments

The contents of the md-select directive doesn't fill it's container when flex is used on the md-select. The md-select tag in the DOM itself seems to flex, but its content doesn't.

http://codepen.io/stevenmiles/pen/jPmxGw

stevenmiles avatar Jun 08 '15 14:06 stevenmiles

Yes, so they take the code which works properly in the previous version and mess it up. To correct issuse I used style="width:100%" on the md-select-label.

dillyboy avatar Jun 11 '15 07:06 dillyboy

@dillyboy It is not that they do it on purpose. Please understand that they are providing more enhancements and in the process, somethings might break. It is not like they are messing things.

chinnichaitanya avatar Jun 11 '15 07:06 chinnichaitanya

Yes true and I appreciate all the extra effort,but its not the first time we have to update our company Apps because of errors in the new version like this. About 30 apps.

dillyboy avatar Jun 11 '15 08:06 dillyboy

md-select is rather completely broken in IE11 - it is not auto-sized (flex doesn't work), scroll-bars appear on parent containers, list is wrongly positioned, etc. Looks like a lot of regression bugs are back. 0.9.6 was the last kind-of-working version of md-select.

rhnatiuk avatar Jun 22 '15 07:06 rhnatiuk

same problem with md-select on both chrome and firefox, the "click" handle is flex, but not the display.

giulioprovasi avatar Jun 22 '15 08:06 giulioprovasi

I had the same problem. But I was able to work around it by add an additional style to set the width as 100% on md-select. On 22/06/2015 8:04 pm, "kitensei" [email protected] wrote:

same problem with md-select on both chrome and firefox, the "click" handle is flex, but not the display.

— Reply to this email directly or view it on GitHub https://github.com/angular/material/issues/3167#issuecomment-114034779.

wenbolovesnz avatar Jun 22 '15 08:06 wenbolovesnz

Related: #3055

ngraef avatar Jun 25 '15 17:06 ngraef

Fixed by 14786283200a5e488742a7d9598cf2fe75cfd2d2

ngraef avatar Jul 13 '15 15:07 ngraef