Skip to content

[split-grid] columnMaxSize(s) not working #782

@BernhardBaumrock

Description

@BernhardBaumrock

Hello and thx for the great library!

I have the following setup: 3 columns, the left should be min 50, max 250

Split({
  columnMinSize: 50,
  columnMinSizes: {
    0: 150,
  },
  columnMaxSizes: {
    0: 250,
  },
  columnGutters: [{
    track: 1,
    element: document.querySelector('.gutter-col-1'),
  }, {
    track: 3,
    element: document.querySelector('.gutter-col-3'),
  }],
})
image image

No matter what I try the columnMaxSizes seems to be ignored. I've also tried using columnMaxSize but the result is the same.

Any help would be greatly appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions