nathancahill / split

Unopinionated utilities for resizeable split views
https://split.js.org/
MIT License
6.1k stars 448 forks source link

[Split-Grid] `fr` explosion #797

Open jy14898 opened 10 months ago

jy14898 commented 10 months ago

If you have 2+ gutters and move both to the end, and then repeatedly click and wiggle either one, the grid-template-columns value on the container contains huge widths. This ends up breaking things as the values are so large.

https://github.com/nathancahill/split/assets/10882728/7afe0204-2d24-4556-8d23-f1113b916c75

Maybe some sort of normalisation is needed?

EDIT: 1 gutter is enough to cause this

Zaxiure commented 8 months ago

I'm also having this issue, it's not only isolated to the fr unit. It also happends with percentages.