From 73ed69ad39383a5a19f90150a373e9f0038c2dee Mon Sep 17 00:00:00 2001 From: Steve 'Cutter' Blades Date: Mon, 11 Jul 2022 10:14:23 -0500 Subject: [PATCH] feat: use custom event wrapper when dragging (#2221) Closes #1864 --- src/addons/dragAndDrop/EventContainerWrapper.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/addons/dragAndDrop/EventContainerWrapper.js b/src/addons/dragAndDrop/EventContainerWrapper.js index 3e7c04b5b..a49ddbf10 100644 --- a/src/addons/dragAndDrop/EventContainerWrapper.js +++ b/src/addons/dragAndDrop/EventContainerWrapper.js @@ -8,7 +8,6 @@ import Selection, { } from '../../Selection' import TimeGridEvent from '../../TimeGridEvent' import { dragAccessors, eventTimes, pointInColumn } from './common' -import NoopWrapper from '../../NoopWrapper' class EventContainerWrapper extends React.Component { static propTypes = { @@ -254,7 +253,7 @@ class EventContainerWrapper extends React.Component { className="rbc-addons-dnd-drag-preview" style={{ top, height, width: 100 }} getters={getters} - components={{ ...components, eventWrapper: NoopWrapper }} + components={{ ...components }} accessors={{ ...accessors, ...dragAccessors }} continuesPrior={startsBeforeDay} continuesAfter={startsAfterDay}