Files
skillshare/ui/src/hooks
Willie 012e24f639 fix(ui): keep the focus a dialog field takes with autoFocus
useFocusTrap ran after its children mounted and moved focus to the first
focusable element, so a dialog's autoFocus field lost focus to the close
button. The trap now leaves focus alone when it is already inside.
2026-09-29 15:25:00 +08:00
..