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
feat(sidenav): close via escape key and restore focus to trigger element (#1990)
* feat(sidenav): close via escape key and restore focus to trigger element
* Adds the ability to close a sidenav by pressing escape.
* Restores focus to the trigger element after a sidenav is closed.
* fix: test failures in IE and blur element if there's no focusable trigger
* fix: use the keycode instead of (keydown.escape)
* fix: use the renderer for focusing and blurring and fix a typo
* fix a faulty merge
* Fix a linter warning.
* Stop the propagation of the keydown event.
* Pointless commit to resolve git issue.
* Revert pointless commit.
* Fix conflict between the new functionality and the focus trapping.
* Move the focus trapping behavior to the onOpen listener for improved reliability.
0 commit comments