Issue : HTML autofocus not working in Chrome

It (autofocus) is defined to work reliably only on during page load. It is not really suited for situations like swapping, or opening, or unhiding DOM elements such as in a single-page application framework. This attribute moves the focus to the specified input on page load. In this case #input is present in DOM but hidden; on clicking login button, the focus is removed.

You can check the issues at page if issue not find in it then report it .

It is a unsolved bug of google chrome and chromium browsers until a fix is found you may want to use a little javascript for a temp fix like this…


Leave a Reply

Your email address will not be published. Required fields are marked *