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
sizeToContent fixes (animation, DOM init, cleanup)
* fix#2552 where dom init wasn't calling sizeToContent
Also:
* fixed drag&drop not calling size either
* prevent animation when loading (from empty) and when replacing placeholder with actual content (helps in sizeToContent)
* resizeToContent() no longer use dic sizing (only node.h) so we rarely have to delay for animation (only when column widget changes)
* bunch of renames (internal) to make cleaner.
*** POSSIBLE BREAK (unlikely)
* ResizeToContentFcn doesn't take optional useAttr arg anymore
Copy file name to clipboardExpand all lines: doc/CHANGES.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
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
+
-[10.0.0-dev (TBD)](#1000-dev-tbd)
8
9
-[10.0.0 (2023-11-20)](#1000-2023-11-20)
9
10
-[9.5.1 (2023-11-11)](#951-2023-11-11)
10
11
-[9.5.0 (2023-10-26)](#950-2023-10-26)
@@ -105,13 +106,20 @@ Change log
105
106
106
107
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
107
108
109
+
## 10.0.0-dev (TBD)
110
+
* fix: [#2552](https://github.com/gridstack/gridstack.js/issues/2552) DOM init doesn't sizeToContent
111
+
* fix: issues with sizeToContent and animation, cleanup, etc...
112
+
* fix: [#2558](https://github.com/gridstack/gridstack.js/pull/2558) remove style node in shadow root
113
+
* fix: [#2556](https://github.com/gridstack/gridstack.js/pull/2556) make sure 'new GridStack(el)' set el.gridstack=this right away
114
+
* cleanup: [#2550](https://github.com/gridstack/gridstack.js/pull/2550) Optimize resize arrow (~88% lighter from 1.82 KB to 225B)
115
+
108
116
## 10.0.0 (2023-11-20)
109
117
* feat [#2542](https://github.com/gridstack/gridstack.js/pull/2542) we now support much richer responsive behavior with `GridStackOptions.columnOpts` including any breakpoint width:column pairs, or automatic column sizing.
110
118
*`disableOneColumnMode`, `oneColumnSize`, `oneColumnModeDomSort` have been removed (see v10 migration doc)
111
119
112
120
## 9.5.1 (2023-11-11)
113
121
* fix [#2525](https://github.com/gridstack/gridstack.js/commit/2525) Fixed unhandled exception happening in _mouseMove handler
114
-
* fix potential crash in doContentResize() if grid gets deleted by the time the delay happens
122
+
* fix potential crash in resizeToContentCheck() if grid gets deleted by the time the delay happens
115
123
* fix [#2527](https://github.com/gridstack/gridstack.js/issues/2527) Incorrect layout on grid load in one column mode
116
124
* fix [#2496](https://github.com/gridstack/gridstack.js/issues/2496) animation on init, introduced in 8.1.1
0 commit comments