Stop autofocus stealing of the cracker panel. Closes #80.

This commit is contained in:
Jack Kingsman
2026-03-18 17:53:42 -07:00
parent ffc5d75a58
commit d8e22ef4af
-8
View File
@@ -257,14 +257,6 @@ export function AppShell({
</div>
<div
ref={(el) => {
if (showCracker && el) {
const focusable = el.querySelector<HTMLElement>('input, button:not([disabled])');
if (focusable) {
setTimeout(() => focusable.focus(), 210);
}
}
}}
className={cn(
'border-t border-border bg-background transition-all duration-200 overflow-hidden',
showCracker ? 'h-[275px]' : 'h-0'