-
Notifications
You must be signed in to change notification settings - Fork 3.4k
input: label overflows and shows horizontal scrollbar #7403
Comments
Hi, md-input-container.md-input-focused label:not(.md-no-float), md-input-container.md-input-has-placeholder label:not(.md-no-float), md-input-container.md-input-has-value label:not(.md-no-float) {
-webkit-transform: translate3d(0, 6px, 0) scale(0.75);
transform: translate3d(0, 6px, 0) scale(0.75);
transition: -webkit-transform cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s, width cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s;
transition: transform cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s, width cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s;
width: calc((100% - 18px) / 0.75);
} The Attribute width generate this problem. If we remove this attribute we don't have more bug and all work fine. |
@crisbeto The |
When an mdInput was focused in IE, the calc was causing the label to overflow it's parent. Closes angular#7403.
Problem remaining on IE11 with 1.1.0-rc3. Visible on demo input. |
@peio72 I couldn't reproduce this particular issue on IE11 with rc3. The overflow that you see in the demo is because of the |
I still see the scrollbars on the demo input on my IE11 for the basic usage and the icons. On my App the problem is only present on the inputs with icons. |
The scrollbar on the demo is because of the datepicker, not the input. As for having the icons together with an input, can you post a code example or a codepen? |
I don't know your email address. |
I updated my profile, you should be able to contact me so I can show you the live example. Thanx. |
I'll reopen this one because it's still an issue. I managed to reproduce it using @peio72's example. |
The calc that was used to truncate the long input labels was actually making them longer. Closes angular#7403.
The calc that was used to truncate the long input labels was actually making them longer on IE. This is because IE calculates whether to overflow an element before applying any of the transforms. Closes angular#7403.
This issue is closed as part of our ‘Surge Focus on Material 2' efforts. |
Hi,
I use mdDialog for create a fast form. From version 1.0.2 i have a problem with Internet Explore 11.
When an input text get focus an horizontal scrollbar appears.
This is the template code:
The text was updated successfully, but these errors were encountered: