johnwalley / allotment

A React component for resizable split views
https://allotment.mulberryhousesoftware.com/
MIT License
949 stars 52 forks source link

Grow or shrink container vertically on sash drag #785

Open ryandao opened 6 months ago

ryandao commented 6 months ago

I'm building a grid layout with allotment. The container's width is fixed, but I want the height to adjust dynamically. When a user drags the sash to resize a row, the container's height should grow or shrink, while keeping the other rows the same. Is there a way to achieve this behavior with the library?