Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(drawer): not restoring focus on close (#7668)
Currently the drawer restores focus on close after its closing animation is done and it contains the currently-focused element. This will always evaluate to false, because the sidenav gets a `visibility: hidden` which will blur any focused elements that it may have. With these changes the drawer will restore focus when the animation starts and it's still visible.
- Loading branch information