Prismic Preview breaks if a section has height set in vh (eg. 100vh)

I am building a project with Next.js and prismic slicemachine, using the starter template provided by prismic.

I have enabled prismic previews.

When I am in my prismic dashboard, the previews of sections that have heights set in vh (say 100vh) just keeps getting taller and taller and doesn't stop.

Is there a fix to this?

Hello team, thanks for reaching out.

Errors related to Previews can vary depending on various factors such as your project settings, framework, and more. I recommend checking out our dedicated troubleshooting guide: