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
I have window resize aware horizontal container and I need to adjust (animate) one of the elements height using size prop - that works!
I've set windowResizeAware to true, to keep the proportions - at least this is what I hoped the outcome would be. However, when you resize window width (height remains the same!), flex attributes (heights) of both containers also change! This is an issue because the last know height I received from onStopResize callback is now invalid!
I have window resize aware horizontal container and I need to adjust (animate) one of the elements height using
size
prop - that works!I've set
windowResizeAware
to true, to keep the proportions - at least this is what I hoped the outcome would be. However, when you resize window width (height remains the same!), flex attributes (heights) of both containers also change! This is an issue because the last know height I received fromonStopResize
callback is now invalid!I've prepared a Codesandbox demo.
Edit: Would it be possible to call
onResize
for eachReflexElement
when window is resized andwindowResizeAware
is set?The text was updated successfully, but these errors were encountered: