Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 086e2fb

Browse files
Merge pull request gridstack#3046 from adumesny/master
remove no-op 'cursor: move' CSS
2 parents fead8d3 + 1f9d0c0 commit 086e2fb

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

‎doc/CHANGES.md‎

Lines changed: 1 addition & 0 deletions
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‎

Lines changed: 1 addition & 1 deletion
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‎

Lines changed: 0 additions & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /