split icon indicating copy to clipboard operation
split copied to clipboard

[split-grid] columnMaxSize(s) not working

Open BernhardBaumrock opened this issue 2 years ago • 2 comments

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!

BernhardBaumrock avatar May 17 '23 09:05 BernhardBaumrock

Pull request

cgrime01 avatar Aug 07 '23 23:08 cgrime01

@nathancahill Any chance this issue will be fixed?

columnMinSizes columnMaxSizes rowMinSizes rowMaxSizes

Are not working.

https://www.npmjs.com/package/split-grid?activeTab=readme#reference

image

wykopx avatar Mar 30 '24 13:03 wykopx