Skip to content

md-input does not allow typing on IE #336

Closed

Description

@msegers
  • 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)

Activity

  1. msegers commented on Apr 20, 2016

    @msegers
    Author

    To add, it also doesn't move the floating label upwards as it does on other browsers.

  2. msegers commented on Apr 20, 2016

    @msegers
    Author
    • 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.
  3. added
    P1
    on Apr 20, 2016
  4. added this to the alpha.4 milestone on Apr 20, 2016
  5. sebakerckhof commented on Apr 21, 2016

    @sebakerckhof

    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.

    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/

  6. msegers commented on Apr 29, 2016

    @msegers
    Author

    Saw an issue about the label on Firefox as well. Seems to be the same thing (Label)

  7. modified the milestones: alpha.4, alpha.5 on May 12, 2016
  8. added a commit that references this issue on May 19, 2016
    de2a9f2
  9. arjtho commented on May 24, 2016

    @arjtho

    Only it works in IE if you set maxLength property

  10. arjtho commented on May 24, 2016

    @arjtho

    And still label does not float

  11. arjtho commented on May 24, 2016

    @arjtho

    If input are loaded thru routes then until we click on one field does not display placeholders.

  12. angular-automatic-lock-bot commented on Sep 4, 2019

    @angular-automatic-lock-bot

    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.

  13. locked and limited conversation to collaborators on Sep 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions