We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 373f4fe commit 438fbeeCopy full SHA for 438fbee
1 file changed
src/snapdom/clone.js
@@ -112,6 +112,7 @@ export function deepCloneBasic(node) {
112
clone.textContent = node.value;
113
clone.value = node.value;
114
const rect = node.getBoundingClientRect();
115
+ clone.style.boxSizing = 'border-box';
116
clone.style.width = `${rect.width}px`;
117
clone.style.height = `${rect.height}px`;
118
return clone;
0 commit comments