re-resizable
re-resizable copied to clipboard
limit resize to parent div/container.
question
no
Overview of the problem
I'm using re-resizable version [4.11.0]
My browser is: chrome
I am sure this issue is not a duplicate?
Description
How do I limit the resizable control to within a div parent? Currently, you can resize control outside the parent div container. We can test this on the nested story. the Inside resizable can be resized beyond the parent.

Im trying to make it live within the parent. not sure why i can drag this all over other divs...

This issue can be resolved by using property which specifies resize boundaries:
bounds: 'parent'
By default it's set to bounds: 'window'
I have tried using the bounds and it is not working.
@davvit If you are Ok, please provide reproduced project with codesandbox