Fix input focus on time select
This commit is contained in:
@@ -1174,9 +1174,7 @@ function SelectedSlotCard(props: BookingShellProps & { compact?: boolean }) {
|
||||
useEffect(() => {
|
||||
if (!selectedSlot) return;
|
||||
|
||||
window.requestAnimationFrame(() => {
|
||||
customerNameInputRef.current?.focus();
|
||||
});
|
||||
}, [selectedSlot]);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user