You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
I cannot type on IE (11)
**If the current behavior is a bug,
Focus any MD-INPUT on IE11 (probably below too but 11 is most relevant). And try to type with keyboard. Does not work. https://material2-app.firebaseapp.com/
You can actually see it here.
What is the expected behavior?
Text appears!
What is the motivation / use case for changing the behavior?
Include IE 11 support seems a must have right?
Which version of Angular and Material, and which browser and OS does this issue affect?
Did this work in previous versions of Angular / Material?
Please also test with the latest stable and snapshot versions.
Angular2 Beta 14, Material Alpha 2
Other information
(e.g. detailed explanation, stacktraces, related issues, suggestions how to fix)
I've done some testing to see what's up. Besides the label not moving, it seems that setting maxlength=-1 does not allow you to type on IE11, seems to work fine on chrome etc.
FYI: In edge you also can't type, but the floating label does work. According to both the W3C and WhatWG definition of maxLength, the behavior in IE11/Edge is the correct one
Edit: Actually, it turns out the W3C spec does mention it needs to be a non-negative integer in order to be applied. So IE/Edge behavior is wrong.
Activity
msegers commentedon Apr 20, 2016
To add, it also doesn't move the floating label upwards as it does on other browsers.
msegers commentedon Apr 20, 2016
sebakerckhof commentedon Apr 21, 2016
FYI: In edge you also can't type, but the floating label does work.
According to both the W3C and WhatWG definition of maxLength, the behavior in IE11/Edge is the correct oneEdit: Actually, it turns out the W3C spec does mention it needs to be a non-negative integer in order to be applied. So IE/Edge behavior is wrong.
Edit 2: I filed a bug report for this, you can find it here: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/7315556/
msegers commentedon Apr 29, 2016
Saw an issue about the label on Firefox as well. Seems to be the same thing (Label)
fix(input): inputs now work in IE11 (#469)
arjtho commentedon May 24, 2016
Only it works in IE if you set maxLength property
arjtho commentedon May 24, 2016
And still label does not float
arjtho commentedon May 24, 2016
If input are loaded thru routes then until we click on one field does not display placeholders.
Update to 5.0.0-rc.2 (angular#336)
angular-automatic-lock-bot commentedon Sep 4, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.