mirror of
https://github.com/bitwarden/browser
synced 2026-02-23 16:13:21 +00:00
[CL-303] Prevent chip menu from running offscreen (#11348)
This commit is contained in:
@@ -41,7 +41,7 @@ export class MenuItemDirective implements FocusableOption {
|
||||
|
||||
@Input({ transform: coerceBooleanProperty }) disabled?: boolean = false;
|
||||
|
||||
constructor(private elementRef: ElementRef) {}
|
||||
constructor(public elementRef: ElementRef<HTMLButtonElement>) {}
|
||||
|
||||
focus() {
|
||||
this.elementRef.nativeElement.focus();
|
||||
|
||||
Reference in New Issue
Block a user