draggable icon indicating copy to clipboard operation
draggable copied to clipboard

Instead of removing display style from originalSource, restore old style

Open fdietze opened this issue 7 years ago • 1 comments

Modifying the dom and then not restoring it to its old state leads to surprising behavior. This should be avoided.

Here are the lines I identified so far: https://github.com/Shopify/draggable/blob/c4c98f830553e118fd3cc4a5c64f5f57edd3ff63/src/Draggable/Draggable.js#L393

https://github.com/Shopify/draggable/blob/c4c98f830553e118fd3cc4a5c64f5f57edd3ff63/src/Draggable/Draggable.js#L536

fdietze avatar Feb 04 '19 15:02 fdietze

+1, this is definitely an issue for me.

dotgodly avatar Mar 24 '19 23:03 dotgodly