Skip to content

Commit 8ae9edc

Browse files
committed
fix: avoid form rings cut off
1 parent 402a5d5 commit 8ae9edc

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

components/composite/StepCustomer/CheckoutCustomerAddresses.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export const CheckoutCustomerAddresses: React.FC<Props> = ({
144144
<AddressSectionTitle data-cy="billing-address">
145145
{t(`addressForm.billing_address_title`)}
146146
</AddressSectionTitle>
147-
<div className="relative overflow-hidden">
147+
<div className="relative">
148148
<>
149149
{hasCustomerAddresses && (
150150
<>
@@ -312,19 +312,19 @@ export const CheckoutCustomerAddresses: React.FC<Props> = ({
312312
}
313313

314314
const addressesTransition = {
315-
enter: "transition duration-400",
315+
enter: "transition duration-400 ease-in",
316316
enterFrom: "opacity-0 -translate-y-full",
317317
enterTo: "opacity-100 translate-y-0",
318-
leave: "duration-400 transition ease-out absolute top-0 w-full",
318+
leave: "duration-200 transition ease-out absolute top-0 w-full",
319319
leaveFrom: "opacity-100 translate-y-0 ",
320320
leaveTo: "opacity-0 -translate-y-full",
321321
}
322322

323323
const formTransition = {
324-
enter: "transition duration-400",
324+
enter: "transition duration-400 ease-in",
325325
enterFrom: "opacity-0 translate-y-full",
326326
enterTo: "opacity-100 translate-y-0",
327-
leave: "duration-400 transition ease-out absolute top-0 w-full min-h-full",
327+
leave: "duration-400 transition ease-out absolute top-0 w-full",
328328
leaveFrom: "opacity-100 translate-y-0",
329329
leaveTo: "opacity-0 translate-y-full",
330330
}

0 commit comments

Comments
 (0)