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 55d9dc4 commit 2332f12Copy full SHA for 2332f12
src/addons/dragAndDrop/EventWrapper.js
@@ -42,7 +42,9 @@ class EventWrapper extends React.Component {
42
// hack: because of the way the anchors are arranged in the DOM, resize
43
// anchor events will bubble up to the move anchor listener. Don't start
44
// move operations when we're on a resize anchor.
45
- const isResizeHandle = e.target.className.includes('rbc-addons-dnd-resize')
+ const isResizeHandle = e.target
46
+ .getAttribute('class')
47
+ ?.includes('rbc-addons-dnd-resize')
48
if (!isResizeHandle)
49
this.context.draggable.onBeginAction(this.props.event, 'move')
50
}
0 commit comments