react-draggable
react-draggable copied to clipboard
Allow rotation to pass through
Updated the transform css and svg attribute to allow for rotation to be passed through.
Not sure I understand the use case here. I recommend double-wrapping your component instead of requiring a core lib modification.
Not sure I understand the use case here. I recommend double-wrapping your component instead of requiring a core lib modification.
Simple. Double wrapping breaks any <Draggable attempting to use bounds="parent".
You can use a querySelector for bounds as well.
That said, I can't accept this with all the dist changes.
Double wrapping also drags in relation to the rotated parent