mirror of
https://github.com/bitwarden/browser
synced 2026-02-24 00:23:17 +00:00
[PM-31384] Prevent dialog header from stealing focus from autofocus inputs (#18657)
This commit is contained in:
committed by
jaasen-livefront
parent
a3ced374da
commit
272e484b79
@@ -22,6 +22,8 @@ import { FocusableElement } from "../shared/focusable-element";
|
||||
*
|
||||
* If the component provides the `FocusableElement` interface, the `focus`
|
||||
* method will be called. Otherwise, the native element will be focused.
|
||||
*
|
||||
* If selector changes, `dialog.component.ts` must also be updated
|
||||
*/
|
||||
@Directive({
|
||||
selector: "[appAutofocus], [bitAutofocus]",
|
||||
|
||||
Reference in New Issue
Block a user