bjgrosse / react-resize-panel

Simple React resize panel component
MIT License
139 stars 55 forks source link

The overflow check is always resetting the panel back to original size #3

Open jkears opened 4 years ago

jkears commented 4 years ago

When I attempt to resize the panel (east), it pulls out fine, but then after release of the handle, it resets to the original size due to an overflow limit.
How can I prevent this?

Prior to resize ... start

Resized, the inner div elements have all resized appropriately ... end

Overflow logic with reverts the panel size back to original size... overflow

GuyPaddock commented 4 years ago

I am having the same issue.

stevewillard commented 4 years ago

Anyone find a workaround to fix this issue?

sharu725 commented 3 years ago

same issue

jkears commented 3 years ago

This resolved it for me... added overflow:hidden on the div to right of slider...

image

I hope this helps others figure out the same.