-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Subject of the issue
Issue 1: fitToContent / misbehaving not working when cellHeight is not an integer (1rem support) FIXED
Issue 2: Starting with column 2, then changing the cellHeight, then changing the column to 1 will revert it back to 2 column
Issue 3: Changing cellHeight will not auto size the cell to content height FIXED
NOTE: This may not be a bug and may be intended behavior, i.e call resizeToContent on cellHeight() call
Issue 4: Clicking add widget will not auto size the cell to the content height (added makeWidget version too because this is my typical flow) FIXED
NOTE: This may not be a bug and may be intended behavior, i.e call resizeToContent on widget add (addWidget or makeWidget)
Your environment
Gridstack Version 9.0.1 (using gridstack.extra.css)
Google Chrome, Edge
Steps to reproduce
https://jsfiddle.net/zxwg5j7m/101/
Issue 1 + 3
Expected behavior
Cell should fit to content,
addWidget / makeWidget should auto size the cell
cellHeight should auto size the cell