There was an error while loading. Please reload this page.
2 parents 3ded3f4 + 604342a commit 9d50489Copy full SHA for 9d50489
6 files changed
Sortable.js
@@ -1586,6 +1586,7 @@
1586
css(ghostEl, 'mozTransform', cssMatrix);
1587
css(ghostEl, 'msTransform', cssMatrix);
1588
css(ghostEl, 'transform', cssMatrix);
1589
+ css(ghostEl.parentElement, 'cursor', options.cursorType);
1590
lastDx = dx;
1591
lastDy = dy;
1592
touchEvt = touch;
@@ -1633,10 +1634,11 @@
1633
1634
css(ghostEl, 'left', rect.left);
1635
css(ghostEl, 'width', rect.width);
1636
css(ghostEl, 'height', rect.height);
- css(ghostEl, 'opacity', '0.8');
1637
+ css(ghostEl, 'opacity', '0');
1638
css(ghostEl, 'position', PositionGhostAbsolutely ? 'absolute' : 'fixed');
1639
css(ghostEl, 'zIndex', '100000');
1640
css(ghostEl, 'pointerEvents', 'none');
1641
1642
Sortable.ghost = ghostEl;
1643
container.appendChild(ghostEl); // Set transform-origin
1644
Sortable.min.js
modular/sortable.complete.esm.js
@@ -1580,6 +1580,7 @@ Sortable.prototype =
1580
1581
1582
1583
1584
1585
@@ -1627,10 +1628,11 @@ Sortable.prototype =
1627
1628
1629
1630
1631
1632
modular/sortable.core.esm.js
modular/sortable.esm.js
src/Sortable.js
@@ -836,6 +836,7 @@ Sortable.prototype = /** @lends Sortable.prototype */ {
836
837
838
839
840
841
842
@@ -895,10 +896,11 @@ Sortable.prototype = /** @lends Sortable.prototype */ {
895
896
897
898
899
900
css(ghostEl, 'position', (PositionGhostAbsolutely ? 'absolute' : 'fixed'));
901
902
903
904
905
906
0 commit comments