We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
will-change
1 parent 644c71b commit ed956afCopy full SHA for ed956af
src/libs/ParallaxController.js
@@ -288,8 +288,7 @@ function ParallaxController() {
288
// Apply styles
289
const el = element.elInner;
290
el.style.cssText =
291
- `will-change:transform;
292
- position:relative;
+ `position:relative;
293
transform:translate3d(${offsets.x.value}${offsets.x.unit}, ${offsets.y.value}${offsets.y.unit}, 0)`;
294
}
295
@@ -300,8 +299,7 @@ function ParallaxController() {
300
299
function _resetStyles(element) {
301
302
303
- `will-change:none;
304
305
transform:translate3d(0, 0, 0)`;
306
307
0 commit comments