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

Cannot Rotate

Open renzhiVivio opened this issue 2 years ago • 3 comments
trafficstars

I create a DOM in react-draggable, now I rotate the DOM

since react-draggable will set a transform property inside the DOM when render, it makes my transform rotate properties not working properly

for example, the DOM css is transform: translate(265px, 262px), but what I want is transform: translate(265px, 262px) rotate(33deg)

how can I acquire?

image the blue rect shadow DOM indicating react-draggable, which doesn't rotate

renzhiVivio avatar Apr 17 '23 20:04 renzhiVivio