You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building a modal with multiple state. It has some action at the bottom represented by CartSummary and, when I add a item to the cart it should show it above the summary.
The problem is that when AnimatedCardItem either mounts or unmounts, the CartSummary has a layout shift. The expected behavior is to always keep in place and the modal to resize.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm building a modal with multiple state. It has some action at the bottom represented by
CartSummary
and, when I add a item to the cart it should show it above the summary.The problem is that when
AnimatedCardItem
either mounts or unmounts, theCartSummary
has a layout shift. The expected behavior is to always keep in place and the modal to resize.WhatsApp.Video.2025-07-17.at.15.39.45.mp4
Thx in advance :D
Beta Was this translation helpful? Give feedback.
All reactions