mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-10 18:57:06 +00:00
📝(docs) update changelog
Document focus management pattern entry
This commit is contained in:
@@ -57,6 +57,7 @@ useRestoreFocus(isOpen, {
|
||||
const first = panelRef.current?.querySelector(
|
||||
'[data-attr="tools-list"] button'
|
||||
)
|
||||
// Leading semicolon avoids ASI issues when a line starts with '('
|
||||
;(first as HTMLElement | null)?.focus({ preventScroll: true })
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user