File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ Change log
5
5
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
6
6
** Table of Contents** * generated with [ DocToc] ( http://doctoc.herokuapp.com/ ) *
7
7
8
+ - [ 12.2.1-dev (TBD)] ( #1221-dev-tbd )
8
9
- [ 12.2.1 (2025-05-28)] ( #1221-2025-05-28 )
9
10
- [ 12.2.0 (2025-05-27)] ( #1220-2025-05-27 )
10
11
- [ 12.1.2 (2024-05-07)] ( #1212-2024-05-07 )
@@ -129,6 +130,11 @@ Change log
129
130
130
131
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
131
132
133
+ ## 12.2.1-dev (TBD)
134
+ * fix: [ #3070 ] ( https://github.com/gridstack/gridstack.js/pull/3070 ) incorrect property name 'sizeToContent' when cleaning up invalid attributes
135
+ * fix: [ #3077 ] ( https://github.com/gridstack/gridstack.js/pull/3077 ) incorrect node._ id check
136
+ * fix: [ #3085 ] ( https://github.com/gridstack/gridstack.js/issues/3085 ) ` opts.minRow ` being updated
137
+
132
138
## 12.2.1 (2025-05-28)
133
139
* fix: [ #3064 ] ( https://github.com/gridstack/gridstack.js/pull/3064 ) fix ` GridStack.updateCB(w) ` crash
134
140
Original file line number Diff line number Diff line change @@ -1301,9 +1301,11 @@ export class GridStack {
1301
1301
if ( o . disableDrag !== undefined && ! o . staticGrid ) this . enableMove ( ! o . disableDrag ) ;
1302
1302
if ( o . disableResize !== undefined && ! o . staticGrid ) this . enableResize ( ! o . disableResize ) ;
1303
1303
if ( o . float !== undefined ) this . float ( o . float ) ;
1304
- if ( o . row !== undefined ) { opts . minRow = opts . maxRow = opts . row = o . row ; }
1305
- else {
1306
- if ( o . minRow !== undefined ) opts . minRow = o . minRow ;
1304
+ if ( o . row !== undefined ) {
1305
+ opts . minRow = opts . maxRow = opts . row = o . row ;
1306
+ this . _updateContainerHeight ( ) ;
1307
+ } else {
1308
+ if ( o . minRow !== undefined ) { opts . minRow = o . minRow ; this . _updateContainerHeight ( ) ; }
1307
1309
if ( o . maxRow !== undefined ) opts . maxRow = o . maxRow ;
1308
1310
}
1309
1311
if ( o . children ?. length ) this . load ( o . children ) ;
You can’t perform that action at this time.
0 commit comments