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
Quite an old issue here but I think technically the documentation is correct.
However, i'm not able to update to a larger size than the max values, or a smaller size than the min values.
To make it work you can, at the same time as you call updateSize, unset the inline styles on the resizable element that are the actual limitation. Something like: resizableRef.current.resizable.style.maxHeight = 'unset';
Overview of the problem
I'm using re-resizable version [6.9.9]
My browser is: Chrome
I am sure this issue is not a duplicate.
Description
It says in the documentation about the
updateSize
method that:However, i'm not able to update to a larger size than the max values, or a smaller size than the min values.
Steps to Reproduce
See codesandbox below:
https://codesandbox.io/s/cool-butterfly-d3z2rr
Expected behavior
updateSize
should ignore max/minWidth, max/minHeight.Actual behavior
height and width are still limited by max/minWidth, max/minHeight when calling
updateSize
.The text was updated successfully, but these errors were encountered: