diff --git a/src/index.js b/src/index.js index 115e979d..7fe1e0dd 100644 --- a/src/index.js +++ b/src/index.js @@ -248,7 +248,7 @@ class App extends React.Component { this.setState({ draggingElement: selectedElement }); } - isDraggingElements = elements.some(element => element.isSelected && isInsideAnElement(x, y)); + isDraggingElements = elements.some(element => element.isSelected); if (isDraggingElements) { document.documentElement.style.cursor = "move";