We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bug
I'm using re-resizable version [6.9.2]
My browser is: chrome
I am sure this issue is not a duplicate.
Re-resizable fails to calculate parent size when
styles are set on the parent DOM. As a result, "maxHeight" props cannot be set in %.
This is simply because an inappropriate css style is set for "base" DOM-element: https://codepen.io/shin-t/pen/WNdbGjm it shrinks to zero as "flex-basis" style defaults to zero when you set it via "flex". https://developer.mozilla.org/ja/docs/Web/CSS/flex
See the codepen below: https://codesandbox.io/s/re-resizable-bug-behavior-f3grus?file=/src/index.tsx
Drag-and-drop the lower boundary of resizable region.
The resizable region resizes in vertical direction
The resizable region resizes to zero height. This buggy behavior fixes when I pass maxHeight in pixel or vh.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Bug
Overview of the problem
I'm using re-resizable version [6.9.2]
My browser is: chrome
I am sure this issue is not a duplicate.
Description
Re-resizable fails to calculate parent size when
styles are set on the parent DOM.
As a result, "maxHeight" props cannot be set in %.
This is simply because an inappropriate css style is set for "base" DOM-element:
https://codepen.io/shin-t/pen/WNdbGjm
it shrinks to zero as "flex-basis" style defaults to zero when you set it via "flex".
https://developer.mozilla.org/ja/docs/Web/CSS/flex
Steps to Reproduce
See the codepen below:
https://codesandbox.io/s/re-resizable-bug-behavior-f3grus?file=/src/index.tsx
Drag-and-drop the lower boundary of resizable region.
Expected behavior
The resizable region resizes in vertical direction
Actual behavior
The resizable region resizes to zero height.
This buggy behavior fixes when I pass maxHeight in pixel or vh.
The text was updated successfully, but these errors were encountered: