Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(datepicker): restore focus after closing popup (#3371)
At the moment the focus is lost, so it will be restored to the previously focused element (before datepicker was opened) Fixes #3317
- Loading branch information
1 parent
0186404
commit d8812b9
Showing
2 changed files
with
31 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d8812b9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@maxokorokov why you want to refocus? We are using focus to open datepicker (https://stackblitz.com/edit/angular-phaczz) and you cannot close it anymore if you click outside datepicker.