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

Allow rotation to pass through

Open jbborre opened this issue 6 years ago • 4 comments
trafficstars

Updated the transform css and svg attribute to allow for rotation to be passed through.

jbborre avatar Feb 13 '19 19:02 jbborre

Not sure I understand the use case here. I recommend double-wrapping your component instead of requiring a core lib modification.

STRML avatar Apr 11 '20 14:04 STRML

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".

cjshearer avatar Jun 10 '21 23:06 cjshearer

You can use a querySelector for bounds as well.

That said, I can't accept this with all the dist changes.

STRML avatar Jun 15 '21 17:06 STRML

Double wrapping also drags in relation to the rotated parent

OT-mliang avatar Nov 17 '21 20:11 OT-mliang