Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
BernhardBaumrock opened this issue May 17, 2023 · 2 comments
Open

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

BernhardBaumrock opened this issue May 17, 2023 · 2 comments

Comments

@BernhardBaumrock
Copy link

BernhardBaumrock commented May 17, 2023

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!

@cgrime01
Copy link

cgrime01 commented Aug 7, 2023

Pull request

@wykopx
Copy link

wykopx commented Mar 30, 2024

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants