1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-15 15:53:51 +00:00
Files
jslib/angular/src
Thomas Rittson 24fe836032 Fixes for dynamic modal a11y (#518)
* Do not close modal if click finishes on background

* Trap tab focus in modals, use ESC to close modal

* Fix Angular change detection errors in modals

* Reset focus on next modal after closing modal

* Minor fixes and linting

* Attach focusTrap to modal-dialog element

* Change mousedown event back to click

* Make topModal private

* Add new div for dismissing modal by clicking bg

* Focus element in modal if no autoFocus directive

* Use backdrop for dismissal

* Fix typo
2021-10-21 08:13:37 +10:00
..
2021-07-16 15:24:14 +02:00
2021-09-24 15:36:51 +02:00