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
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
with regards to autofocus, the html5 spec says that the focus should be placed on the element when it is "inserted into the document" and there is also an additional restriction that says that there can be no more than one element with attribute autofocus in the document.
so autofocus is quite tricky and requires special treatment. can you please create a new issue for this and reference this issue or just quote this comment.
If multiple elements have a truthy ng-autofocus value, maybe just add the autofocus attribute to the first such visible element?
The text was updated successfully, but these errors were encountered:
On 2011-12-20, @IgorMinar said:
If multiple elements have a truthy
ng-autofocus
value, maybe just add theautofocus
attribute to the first such visible element?The text was updated successfully, but these errors were encountered: