react-spaces icon indicating copy to clipboard operation
react-spaces copied to clipboard

Is it possible to have a minimum size fill

Open pmlakner opened this issue 3 years ago • 1 comments

Looking through the documentation I know its not available. I'm having trouble pulling off the layout I need. I was hoping to make three columns, where the center fills the available space but cannot be smaller than a certain size, while still resizable on either side.

Sorry I am new to both React and CSS

pmlakner avatar May 14 '21 02:05 pmlakner

Hi @pmlakner

The library doesn't currently support size limits on the fill space however it does seem like a potential feature for the future.

The functionality to achieve this might be similar to what's needed to fix https://github.com/aeagle/react-spaces/issues/72 where a spaces resize boundary needs to be aware of other anchored spaces on the same layer as well as any minimum/maximum limits specified.

aeagle avatar May 14 '21 12:05 aeagle