Skip to content

Commit

Permalink
feat: use custom event wrapper when dragging (#2221)
Browse files Browse the repository at this point in the history
Closes #1864
  • Loading branch information
cutterbl authored Jul 11, 2022
1 parent b0049e1 commit 73ed69a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/addons/dragAndDrop/EventContainerWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit 73ed69a

Please sign in to comment.