This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
md-autofocus: no longer works on page load #10959
Open
Description
Actual Behavior:
What is the issue? *
Adding md-autofocus to an autocomplete does not set focus on the elementWhat is the expected behavior?
It is expected it would set focus on the element
CodePen (or steps to reproduce the issue): *
CodePen Demo which shows your issue:
https://codepen.io/anon/pen/mqyjjzDetails:
I added md-autofocus to the md-autocomplete element from the demo on the angular material website under md-autocomplete. The item does not get focused.
AngularJS Versions: *
AngularJS Version:
1.6.6AngularJS Material Version:
1.1.5
Additional Information:
Browser Type: *
ChromeBrowser Version: *
61.0.3163.100 (Official Build) (64-bit)OS: *
Windows 10Stack Traces:
Shortcut to create a new CodePen Demo.
Note: *
indicates required information. Without this information, your issue may be auto-closed.
Do not modify the titles or questions. Simply add your responses to the ends of the questions.
Add more lines if needed.