We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 759a232 commit f670719Copy full SHA for f670719
src/addons/dragAndDrop/WeekWrapper.js
@@ -176,9 +176,9 @@ class WeekWrapper extends React.Component {
176
// point here and do the placement computation in handleMove()...
177
this.eventOffsetLeft = point.x - getBoundsForNode(eventNode).left
178
179
+ const isInBox = pointInBox(getBoundsForNode(node), point)
180
return (
- action === 'move' ||
181
- (action === 'resize' && (!isAllDay || pointInBox(eventNode, point)))
+ action === 'move' || (action === 'resize' && (!isAllDay || isInBox))
182
)
183
})
184
0 commit comments