Description
set bounds to parent, if the parent element has x-overflow, the drag element cannot drag to the right edge of the parent.
// parent has x-overflow
<div>
<Draggable bounds='parent'>
<div>dragme</div>
</Draggble>
<div>
Steps
https://codesandbox.io/s/crazy-violet-bs1t7x?file=/src/App.js
Expectation
The drag element can drag to the right edge of Parent.
Description
set bounds to parent, if the parent element has x-overflow, the drag element cannot drag to the right edge of the parent.
Steps
https://codesandbox.io/s/crazy-violet-bs1t7x?file=/src/App.js
Expectation
The drag element can drag to the right edge of Parent.