From 9c81e9e8db76f011edc24baaddb2c93d9dde5619 Mon Sep 17 00:00:00 2001 From: xtursky Date: Tue, 16 Jul 2019 03:37:35 +0200 Subject: [PATCH] fix: drag cancelation for month view (#1322) same fix as already done for day and week views --- src/addons/dragAndDrop/WeekWrapper.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/addons/dragAndDrop/WeekWrapper.js b/src/addons/dragAndDrop/WeekWrapper.js index bbcac6c14..c829255c8 100644 --- a/src/addons/dragAndDrop/WeekWrapper.js +++ b/src/addons/dragAndDrop/WeekWrapper.js @@ -240,6 +240,11 @@ class WeekWrapper extends React.Component { }) selector.on('click', () => this.context.draggable.onEnd(null)) + + selector.on('reset', () => { + this.reset() + this.context.draggable.onEnd(null) + }) } handleInteractionEnd = () => {