Closed
Description
Subject of the issue
gs-size-to-content does not support numbers, unlike sizeToContent. It only processes the value as a bool.
Your environment
- version of gridstack.js - 11.4.0
- which browser/OS - Chrome - macOS / irrelevant to the issue
Steps to reproduce
gs-size-to-content is processed as bool: #2892 (comment)
Visit https://jsfiddle.net/m0cf5tgb/ and follow the explanation there
Expected behavior
gs-size-to-content should support numbers like sizeToContent
does.