From 8160806303b4ca807b19e4abda6612711d44c197 Mon Sep 17 00:00:00 2001 From: Andrew <44983823+andrewvasilchuk@users.noreply.github.com> Date: Mon, 18 Apr 2022 22:06:02 +0300 Subject: [PATCH] fix: use "will-change: transform" instead of "will-change: all" There is no `all` value for `will-change` CSS property. --- src/Sortable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sortable.js b/src/Sortable.js index 7a8c779b8..9e37c8f2d 100644 --- a/src/Sortable.js +++ b/src/Sortable.js @@ -583,7 +583,7 @@ Sortable.prototype = /** @lends Sortable.prototype */ { this._lastX = (touch || evt).clientX; this._lastY = (touch || evt).clientY; - dragEl.style['will-change'] = 'all'; + dragEl.style['will-change'] = 'transform'; dragStartFn = function () { pluginEvent('delayEnded', _this, { evt });