mirror of
https://github.com/bitwarden/browser
synced 2026-02-19 02:44:01 +00:00
[PM-19923] Update autofocus directive to be more aggressive in focusing (#14368)
* Update autofocus directive to be more aggressive in focusing * Handle checkVisibility not existing (safari < 17.4) * Tweak phrasing * Change approach
This commit is contained in:
committed by
Vincent Salucci
parent
6dde077e1b
commit
7fdc16daa2
@@ -6,5 +6,5 @@
|
||||
* Used by the `AutofocusDirective` and `A11yGridDirective`.
|
||||
*/
|
||||
export abstract class FocusableElement {
|
||||
getFocusTarget: () => HTMLElement;
|
||||
getFocusTarget: () => HTMLElement | undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user