You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ‘Resizable’ component has a bug when providing the height with relative values, specifically with percentage (x%). The component refuses to change the height
Even in the context of static HTML/CSS, if the DOM parent has no height then percentage units don’t work. That’s to say, I don’t see how this can be expected to work automatically. ResizableBox shouldn’t just set an arbitrary height on the parent element when its height is specified as percentage.
This limitation could be mentioned in the docs and/or the library could output a console warning (in development) that the parent has no height so % units can’t work.
Overview of the problem
I'm using re-resizable version 6.10.0
My browser is: Chromium
Description
The ‘Resizable’ component has a bug when providing the height with relative values, specifically with percentage (x%). The component refuses to change the height
Code Sandbox
https://codesandbox.io/p/sandbox/ecstatic-clarke-p27rpf
The text was updated successfully, but these errors were encountered: