angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.23k stars 6.7k forks source link

IE11: matInput does not get focused when clicking on mat-form-field #15792

Closed philipooo closed 5 years ago

philipooo commented 5 years ago

What is the expected behavior?

The focus ist set to the matInput Field when clicking on some part of the mat-form-field which is not the element.

What is the current behavior?

Currently there is some wierd behaviour. When clicking e.g. slightly abouve the element on the mat-form-field, the placeholde moves and i looks like the field is focues but there is no carret... sometimes the carret appears at the correct or wrong location but I cant type anything.

What are the steps to reproduce?

With bug

  1. Open IE11 with https://angular-material2-issue-fsayjw.stackblitz.io (https://stackblitz.com/edit/angular-material2-issue-zteuux)
  2. Click slighly above the placeholder
  3. => No focus

Without bug There is an working example using an older version of angular/angular-material https://angular-material2-issue-fsayjw.stackblitz.io/ (https://stackblitz.com/edit/angular-material2-issue-fsayjw)

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

See stackblitz

macjohnny commented 5 years ago

duplicate of https://github.com/angular/material2/issues/15093

angular-automatic-lock-bot[bot] commented 4 years ago

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.