Skip to content

Commit

Permalink
fix: drag cancelation for month view (jquense#1322)
Browse files Browse the repository at this point in the history
same fix as already done for day and week views
  • Loading branch information
xtursky authored and jquense committed Jul 16, 2019
1 parent b54a0bb commit 9c81e9e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/addons/dragAndDrop/WeekWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => {
Expand Down

0 comments on commit 9c81e9e

Please sign in to comment.