react-split-pane
react-split-pane copied to clipboard
Percent-based values?
I would love if there was a possibility to use percentages as minSize
/maxSize
.
This would allow us to ensure that the user cannot get "stuck" by dragging the panel divider outside of the view.
Any update on this?
isn't it already available? Here: http://react-split-pane-v2.surge.sh/?MinPercentageHorizontalExample and here: http://react-split-pane-v2.surge.sh/?MaxPercentageVerticalExample
I think that it would interesting to have the divs width and height changing in percentages and not absolute values. It will allow other components to move along nicely.