Skip to content

Commit

Permalink
fix(stabilization): don't modify IFRAME to avoid reloads (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzej-woof authored Oct 14, 2024
1 parent cae12b0 commit 02b758a
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 02b758a

Please sign in to comment.