diff --git a/app/checkout/components/CheckoutContent.tsx b/app/checkout/components/CheckoutContent.tsx index efafb2e..f0e5db9 100644 --- a/app/checkout/components/CheckoutContent.tsx +++ b/app/checkout/components/CheckoutContent.tsx @@ -393,13 +393,10 @@ export function CheckoutContent({ return; } setVatIdViesStatus(data.valid ? "valid" : "invalid"); - // Re-focus + select the whole value on an unconfirmed VAT ID — the - // customer almost certainly needs to retype it (a typo, or the - // wrong id entirely), so the next keystroke should just replace it - // outright rather than requiring a manual select-all first. + // Re-focus (no select-all) on an unconfirmed VAT ID so the customer's + // attention returns to the field without wiping what they typed. if (!data.valid) { input.focus(); - input.select(); } } catch { setVatIdViesStatus("unavailable");