react-spaces
react-spaces copied to clipboard
Is it possible to have a minimum size fill
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
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.