Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minSizes prop ignored on window resize #46

Open
godsamit opened this issue Feb 12, 2021 · 1 comment
Open

minSizes prop ignored on window resize #46

godsamit opened this issue Feb 12, 2021 · 1 comment
Labels
fix Bug or problem
Milestone

Comments

@godsamit
Copy link

if the user shrinks a window, the pane with minSizes set will shrink smaller than the minimal size.

I know this might be a browser issue that's hard to fix so feel free to close this. But this does cause some problems in my usage and any help to circumvent that would be greatly appreciated.

@b-zurg b-zurg added the fix Bug or problem label May 13, 2021
@b-zurg
Copy link
Owner

b-zurg commented May 13, 2021

I have some ideas for a v3 release that will be using css grid instead of flex for laying out the items.

This will allow offloading the entire min/max management completely to css grid's minmax function which I think will help with performance as well as simplicity.

It will also give the user the ability to specify a min size as well as a max size relatively easily, which is not currently something that's possible.

Sorry it took me so long to come and reply to this. It's a bit difficult to spend time on OSS for me at the moment but hopefully will manage to do this redesign and that will solve your issue..

@b-zurg b-zurg added this to the V3 milestone May 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug or problem
Projects
None yet
Development

No branches or pull requests

2 participants