mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-05 00:41:15 +02:00
Close opened AccountSwitcher dropdown (#1228)
When a user clicks outside of an opened account switching dropdown, it should close automatically when clicking outside of the dropdown.
This commit is contained in:
parent
d885e3296b
commit
71c2fee574
@ -24,6 +24,9 @@
|
||||
<ng-template
|
||||
cdkConnectedOverlay
|
||||
[cdkConnectedOverlayOrigin]="trigger"
|
||||
[cdkConnectedOverlayHasBackdrop]="true"
|
||||
[cdkConnectedOverlayBackdropClass]="'cdk-overlay-transparent-backdrop'"
|
||||
(backdropClick)="toggle()"
|
||||
[cdkConnectedOverlayOpen]="isOpen"
|
||||
cdkConnectedOverlayMinWidth="250px"
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user