1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 07:13:32 +00:00
Commit Graph

5 Commits

Author SHA1 Message Date
Oscar Hinton
60878cd4ed Add eslint (#610) 2022-02-22 15:39:11 +01:00
Oscar Hinton
193434461d Apply Prettier (#581) 2021-12-16 13:36:21 +01:00
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
Oscar Hinton
d50531886b Add support for setting up component factory resolvers in modal service (#471) 2021-08-31 16:35:20 +02:00
Oscar Hinton
daa4f6f9a6 Dynamic Modals (#417)
* Move backdrop and click handler to modal service since they should not be used in web

* Add support for opening modals using ViewContainerRef
2021-08-26 10:04:29 +02:00