Skip to content

Commit

Permalink
fix: don't modify IFRAME to avoid reloads
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzej-woof authored Oct 12, 2024
1 parent cae12b0 commit 8089b08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/browser/src/global/stabilization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ function stabilizeElementPositions(document: Document) {
const elements = Array.from(document.querySelectorAll("*"));
elements.forEach((element) => {
if (!checkIsHTMLElement(element)) return;
if (element.tagName === 'IFRAME') return;
const style = window.getComputedStyle(element);
const position = style.position;
if (position === "fixed") {
Expand Down

0 comments on commit 8089b08

Please sign in to comment.