desandro / draggabilly

:point_down: Make that shiz draggable
https://draggabilly.desandro.com
MIT License
3.86k stars 387 forks source link

Transformed (rotate or skew) items loose transformation during dragging #156

Closed ldetomi closed 7 years ago

ldetomi commented 7 years ago

I use Draggabilly to drag&drop Flowchart items. No problems on Process shape (a simple rectangle), but other shapes like Decision (a "rhombus", so a rotated DIV) and Input/Output (a "parallelogram", so a skewed DIV) loose recpectively transform:rotate() and transform:skew() during dragging, re-applying it after drop (eventual content of these elements with other tansformations applied is preserved).

Please, can you solve it? I sincerely would avoid to replace transformations with img backgrounds to mimic shapes on regular rectangular div,

desandro commented 7 years ago

See #92 and #120. Closing here as a duplicate.