b-zurg/react-collapse-pane

Left pane gets narrower and narrower as you repeatedly collapse and return

isoittech opened this issue · 1 comments

Hi, thanks for very nice library.

Please see CodeSandbox for a sample of what appears to be problem with collapse.
https://codesandbox.io/s/react-collapse-pane37-forked-21whm?file=/src/App.js

What this sample shows is the following.
If you set collapsedSize to less than 50, the left pane gets narrower and narrower as you repeatedly collapse and return.

If this is a phenomenon that cannot be controlled by other options (simply put, "if it's a bug"), I would like to fix for the 1.4.2 version, not just the v2.0.x version. Because I am unable to upgrade my react version to 17 for some reason.

The same argument was made in the following issue #60 ... , so this issue #81 is closed.

#60 (comment)