Skip to content

Commit

Permalink
Force isolation: auto
Browse files Browse the repository at this point in the history
This fixes some websites (e.g. github, some of the Atom themes).
  • Loading branch information
krzentner authored Mar 29, 2024
1 parent 9f43132 commit c4f0ce6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dom3d.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ export function dom3d(
? color
: getComputedStyle(node).backgroundColor,
willChange: "transform",
isolation: "auto",
});

let updatedOffsetX = offsetX;
Expand Down

0 comments on commit c4f0ce6

Please sign in to comment.