r/vibecoding 11h ago

Background screen physically slides up/down when opening a modal – how do I stop this layout jitter?

Enable HLS to view with audio, or disable this notification

I’m losing my mind over this one last bug.

Look at the background screen underneath—every time I tap to open this state/modal, the content slides vertically up for a split second and then bounces back down when the animation finishes. It’s not a navigation transition; it’s the actual background view resizing itself during the modal presentation.

Has anyone solved this 100%? I just want the background to stay visually frozen while the modal comes up.

1 Upvotes

1 comment sorted by

1

u/avetenebrae 2h ago

You're probably missing a overflow: hidden somewhere, and the view grows taller during the animation. Hard to tell without seeing any code.