Skip to content

Commit 300f162

Browse files
committed
feat(css): Add will-change properties
1 parent cf9976e commit 300f162

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

css/styles.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@
1111
}
1212
.react-grid-item.resizing {
1313
z-index: 1;
14+
will-change: width, height;
1415
}
1516

1617
.react-grid-item.react-draggable-dragging {
1718
transition: none;
1819
z-index: 3;
20+
will-change: transform;
1921
}
2022

2123
.react-grid-item.react-grid-placeholder {

0 commit comments

Comments
 (0)