Skip to content

Commit 9c81e9e

Browse files
xturskyjquense
authored andcommitted
fix: drag cancelation for month view (#1322)
same fix as already done for day and week views
1 parent b54a0bb commit 9c81e9e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/addons/dragAndDrop/WeekWrapper.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,11 @@ class WeekWrapper extends React.Component {
240240
})
241241

242242
selector.on('click', () => this.context.draggable.onEnd(null))
243+
244+
selector.on('reset', () => {
245+
this.reset()
246+
this.context.draggable.onEnd(null)
247+
})
243248
}
244249

245250
handleInteractionEnd = () => {

0 commit comments

Comments
 (0)