📝(docs) update changelog

Document focus management pattern entry
This commit is contained in:
Cyril
2026-01-15 13:19:01 +01:00
committed by lebaudantoine
parent 8a30071f41
commit 180da8d433
2 changed files with 2 additions and 2 deletions
+1
View File
@@ -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 })
},
})