You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/CHANGES.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,6 +110,8 @@ Change log
110
110
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
111
111
## 10.1.1-dev (TBD)
112
112
* fix: [#2628](https://github.com/gridstack/gridstack.js/issues/2628)`removeAll()` does not trigger Angular's ngOnDestroy
113
+
* fix: [#2503](https://github.com/gridstack/gridstack.js/issues/2503) Drag and drop a widget on top of a locked widget - Thank you [JakubEleniuk](https://github.com/JakubEleniuk)
114
+
* fix: [#2584](https://github.com/gridstack/gridstack.js/issues/2584) wrong sort order during 1 column resize - Thank you [JakubEleniuk](https://github.com/JakubEleniuk) again.
113
115
114
116
## 10.1.1 (2024-03-03)
115
117
* fix: [#2620](https://github.com/gridstack/gridstack.js/pull/2620) allow resizing with sizeToContent:NUMBER is uses
this.batchUpdate();// do this EARLY as it will call saveInitial() so we can detect where we started for _dirty and collision
821
821
letnewNodes: GridStackNode[]=[];
822
-
letnodes=doCompact ? this.nodes : Utils.sort(this.nodes,-1,prevColumn);// current column reverse sorting so we can insert last to front (limit collision)
822
+
letnodes=doCompact ? this.nodes : Utils.sort(this.nodes,-1);// current column reverse sorting so we can insert last to front (limit collision)
823
823
824
824
// see if we have cached previous layout IFF we are going up in size (restore) otherwise always
825
825
// generate next size down from where we are (looks more natural as you gradually size down).
@@ -891,7 +891,7 @@ export class GridStackEngine {
891
891
}
892
892
893
893
// finally re-layout them in reverse order (to get correct placement)
894
-
newNodes=Utils.sort(newNodes,-1,column);
894
+
newNodes=Utils.sort(newNodes,-1);
895
895
this._inColumnResize=true;// prevent cache update
896
896
this.nodes=[];// pretend we have no nodes to start with (add() will use same structures) to simplify layout
0 commit comments