Browse Source

Update style on block drop in absolute mode

pull/2578/head
Artur Arseniev 6 years ago
parent
commit
ea2f795493
  1. 2
      src/utils/Droppable.js

2
src/utils/Droppable.js

@ -84,7 +84,7 @@ export default class Droppable {
if (!cancelled) {
const comp = wrapper.append(content)[0];
const { left, top, position } = target.getStyle();
comp.setStyle({ left, top, position });
comp.addStyle({ left, top, position });
this.handleDragEnd(comp, dt);
}
target.remove();

Loading…
Cancel
Save