We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5857d8f commit 167b69fCopy full SHA for 167b69f
1 file changed
src/addons/dragAndDrop/withDragAndDrop.js
@@ -97,7 +97,7 @@ export default function withDragAndDrop(Calendar) {
97
weekWrapper: WeekWrapper,
98
})
99
100
- this.state = {}
+ this.state = { interacting: false }
101
}
102
103
getChildContext() {
@@ -118,7 +118,7 @@ export default function withDragAndDrop(Calendar) {
118
119
120
handleInteractionStart = () => {
121
- this.setState({ interacting: true })
+ if (this.state.interacting === false) this.setState({ interacting: true })
122
123
124
handleInteractionEnd = interactionInfo => {
0 commit comments