feat(desktop): align provider onboarding dialogs (#36733)
Co-authored-by: Brendan Allan <git@brendonovich.dev>
This commit is contained in:
parent
3238daa851
commit
f7d5a1cbc7
13 changed files with 843 additions and 132 deletions
|
|
@ -101,7 +101,7 @@ export function Dialog(props: DialogProps) {
|
|||
const autofocusEl = target?.querySelector("[autofocus]") as HTMLElement | null
|
||||
if (autofocusEl) {
|
||||
e.preventDefault()
|
||||
autofocusEl.focus()
|
||||
autofocusEl.focus({ preventScroll: true })
|
||||
}
|
||||
}}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue