Skip to content

Commit a6ba396

Browse files
committed
sanitize container
1 parent 4c9e21d commit a6ba396

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/core/prepare.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,15 @@ export async function prepareClone(element, options = {}) {
119119
sessionCache.styleCache.set(element, computed);
120120
const transform = stripTranslate(computed.transform);
121121
clone.style.margin = "0";
122-
// clone.style.position = "static";
122+
// clone.style.position = "static";
123123
clone.style.top = "auto";
124124
clone.style.left = "auto";
125125
clone.style.right = "auto";
126126
clone.style.bottom = "auto";
127127
//clone.style.zIndex = "auto";
128+
clone.style.animation = "none";
129+
clone.style.transition = "none";
130+
clone.style.willChange = "auto";
128131
clone.style.float = "none";
129132
clone.style.clear = "none";
130133
clone.style.transform = transform || "";

0 commit comments

Comments
 (0)