Skip to content

Commit 1f9d0c0

Browse files
committed
remove no-op 'cursor: move' CSS
* fix #3044
1 parent c83bd55 commit 1f9d0c0

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

doc/CHANGES.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Change log
55
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
66
**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*
77

8+
- [12.1.1-dev (TBD)](#1211-dev-tbd)
89
- [12.1.1 (2024-04-28)](#1211-2024-04-28)
910
- [12.1.0 (2024-04-23)](#1210-2024-04-23)
1011
- [12.0.0 (2025-04-12)](#1200-2025-04-12)

src/dd-draggable.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ export class DDDraggable extends DDBaseImplement implements HTMLElementExtendOpt
312312
// TODO: set all at once with style.cssText += ... ? https://stackoverflow.com/questions/3968593
313313
const style = this.helper.style;
314314
style.pointerEvents = 'none'; // needed for over items to get enter/leave
315-
// style.cursor = 'move'; // TODO: can't set with pointerEvents=none ! (done in CSS as well)
315+
// style.cursor = 'move'; // TODO: can't set with pointerEvents=none ! (no longer in CSS either as no-op)
316316
style.width = this.dragOffset.width + 'px';
317317
style.height = this.dragOffset.height + 'px';
318318
style.willChange = 'left, top';

src/gridstack.scss

-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ $animation_speed: .3s !default;
118118

119119
&.ui-draggable-dragging {
120120
will-change: left, top;
121-
cursor: move;
122121
}
123122

124123
&.ui-resizable-resizing {

0 commit comments

Comments
 (0)