Skip to content

v2.0.0 griditem change minWidth won't pass to engine #1359

@rhlin

Description

@rhlin

Subject of the issue

walk through the code, found that only maxWidth() in GridStack class api for modifing griditem min max data wound update the node.maxWidth . (see maxWidth)
maxHeight/minHeight/minWidth funtion call do not update the node.maxHeight/minHeight/minWidth, which might cause engine not cacluate right.
(see minWidth)

Your environment

  • version of gridstack.js: v2.0.0
  • which browser and its version: doesn't matter

Expected behaviour

node.minWidth = (val || undefined)

Actual behaviour

the node.minWidth wouldn't update

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions