From 167b69f05fadcc2526ac55053f78c767373b83b0 Mon Sep 17 00:00:00 2001
From: Julian Daberkow <jdaberkow@users.noreply.github.com>
Date: Wed, 7 Nov 2018 13:59:36 +0100
Subject: [PATCH] perf: increase startup time of event dragging (#1020)

---
 src/addons/dragAndDrop/withDragAndDrop.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/addons/dragAndDrop/withDragAndDrop.js b/src/addons/dragAndDrop/withDragAndDrop.js
index 9830d0e7c1..91240c3827 100644
--- a/src/addons/dragAndDrop/withDragAndDrop.js
+++ b/src/addons/dragAndDrop/withDragAndDrop.js
@@ -97,7 +97,7 @@ export default function withDragAndDrop(Calendar) {
         weekWrapper: WeekWrapper,
       })
 
-      this.state = {}
+      this.state = { interacting: false }
     }
 
     getChildContext() {
@@ -118,7 +118,7 @@ export default function withDragAndDrop(Calendar) {
     }
 
     handleInteractionStart = () => {
-      this.setState({ interacting: true })
+      if (this.state.interacting === false) this.setState({ interacting: true })
     }
 
     handleInteractionEnd = interactionInfo => {