react-draggable icon indicating copy to clipboard operation
react-draggable copied to clipboard

bug: "bounds" doesn't work as expected

Open Kido-200 opened this issue 4 years ago • 0 comments
trafficstars

When a dom with "position:relative" between [Dragable bounds=".wrapper"] and [div className="wrapper" ], the Dragable's bounds will be {{left:0, right:Horizontal scroll,top: 0, bottom: vertical scroll}}, that means I can't drag it to the left. In actual situations, I need to set the “position” to ”relative“ in middle dom

https://codesandbox.io/s/strange-sound-9ehor?file=/src/styles.css

Kido-200 avatar Sep 02 '21 03:09 Kido-200