From ef2ded9d64c0c39154cc2a2cf74c3730f572f1c3 Mon Sep 17 00:00:00 2001 From: Jose Selesan Date: Mon, 8 Jun 2026 16:41:24 -0300 Subject: [PATCH] Fix input focus on time select --- .../src/features/public-booking/public-booking-page.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/frontend/src/features/public-booking/public-booking-page.tsx b/apps/frontend/src/features/public-booking/public-booking-page.tsx index 1197fc7..690c946 100644 --- a/apps/frontend/src/features/public-booking/public-booking-page.tsx +++ b/apps/frontend/src/features/public-booking/public-booking-page.tsx @@ -1174,9 +1174,7 @@ function SelectedSlotCard(props: BookingShellProps & { compact?: boolean }) { useEffect(() => { if (!selectedSlot) return; - window.requestAnimationFrame(() => { - customerNameInputRef.current?.focus(); - }); + customerNameInputRef.current?.focus(); }, [selectedSlot]); return (