Disable page scroll with figma embed

Hey folks, I want to use Figma embed to easily include designs and diagrams in my website.

However, there’s a weird behavior that occurs when the page that includes the Figma iframe contains a scroll bar: panning on the Figma canvas causes the main page to scroll up, which is confusing for the end-user.

Here is a minimum reproducible file

		body {
			height: 2000px;

	<h1>Figma Embed</h1>
	<iframe height="450" width="800"

Has anybody faced a similar issue?

Here is a video

Yes, I’m facing a similar issue & also the whole page containing the iframe “jumps up” around 200-300px.