8000 gs-size-to-content does not support numbers · Issue #2987 · gridstack/gridstack.js · GitHub
[go: up one dir, main page]

Skip to content
gs-size-to-content does not support numbers #2987
Closed
@yusufkandemir

Description

@yusufkandemir

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0