Skip to content

Commit aabc917

Browse files
authored
Merge pull request #3087 from adumesny/master
doc fix for #3054
2 parents 6d0e75c + 5cc2532 commit aabc917

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

doc/CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ Change log
133133
## 12.2.1-dev (TBD)
134134
* fix: [#3070](https://github.com/gridstack/gridstack.js/pull/3070) incorrect property name 'sizeToContent' when cleaning up invalid attributes
135135
* fix: [#3077](https://github.com/gridstack/gridstack.js/pull/3077) incorrect node._id check
136+
* fix: [#3054](https://github.com/gridstack/gridstack.js/pull/3054) Avoid reflows via explicitly setting minRow
136137
* fix: [#3085](https://github.com/gridstack/gridstack.js/issues/3085) `opts.minRow` being updated
137138

138139
## 12.2.1 (2025-05-28)

doc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ gridstack.js API
116116
- `marginBottom`: numberOrString
117117
- `marginLeft`: numberOrString
118118
- `maxRow` - maximum rows amount. Default is `0` which means no max.
119-
- `minRow` - minimum rows amount which is handy to prevent grid from collapsing when empty. Default is `0`. When no set set, the `min-height` CSS attribute on the grid div (in pixels) can be used as well, which will round to the closest row.
119+
- `minRow` - minimum rows amount which is handy to prevent grid from collapsing when empty. Default is `0`. When no set the `min-height` CSS attribute on the grid div (in pixels) can be used, which will round to the closest row.
120120
- `nonce` - If you are using a nonce-based Content Security Policy, pass your nonce here and
121121
GridStack will add it to the `<style>` elements it creates.
122122
- `placeholderClass` - class for placeholder (default: `'grid-stack-placeholder'`)

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ export interface GridStackOptions {
218218
maxRow?: number;
219219

220220
/** minimum rows amount which is handy to prevent grid from collapsing when empty. Default is `0`.
221-
* When no set set, the `min-height` CSS attribute on the grid div (in pixels) can be used as well, which will round to the closest row.
221+
* When no set the `min-height` CSS attribute on the grid div (in pixels) can be used, which will round to the closest row.
222222
*/
223223
minRow?: number;
224224

0 commit comments

Comments
 (0)