bjgrosse / react-resize-panel

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

how to set maximum drag with respect to parent container? #27

Open shivakantshukla55 opened 3 years ago

shivakantshukla55 commented 3 years ago

width of my parent container is lets say 500px. when i try to drag to direction: positive x-axis i am able to drag more than 500px . I want to set the limit of max drag according to its parent size. Anyway i can do it? Thanks.