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 }}
Repository navigation
Allow disabling autoFocus on sidenav/drawer #10402
Automatic focus of initial element in sidenav is controllable
What is the current behavior?
Initial element in sidenav is focused when it opens
What is the use-case or motivation for changing an existing behavior?
Hacks are required to override this behaviour. It's visually distracting when something like a toolbar is in the sidenav and the close button is the first thing focused when it's opened.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Activity
FernandoX7 commentedon Mar 14, 2018
Care to disclose what hack you are using to disable that behavior? Very annoying as you stated.
EDIT: Was able to do this to temporarily fix it. Just place above the item that is being auto focused.
feat(sidenav): allow for auto focusing to be disabled
feat(sidenav): allow for auto focusing to be disabled
feat(sidenav): allow for auto focusing to be disabled (#10933)
sauravpandit commentedon Jun 6, 2019
Will you please let me know under which version this fix is available?
angular-automatic-lock-bot commentedon Sep 10, 2019
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.