Skip to content

Dropping event in gutter or header gets stuck in dragging state #2198

@LiniovasDovydas

Description

@LiniovasDovydas

Check that this is really a bug

  • I confirm

Reproduction link

https://jquense.github.io/react-big-calendar/examples/index.html?path=/story/addons-drag-and-drop--example-2

Bug description

When dragging an event in week/day views and releasing it on time gutters or headers it gets stuck in dragging state until you press in the calendar.

Expected Behavior

Event resets to where it was.

Actual Behavior

Calendar gets stuck in dragging state

react-big-calendar version

0.40.2

React version

^16.14.0 || ^17 || ^18

Platform/Target and Browser Versions

Chrome, Edge, Firefox

Validations

  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Make sure this is a react-big-calendar issue and not an implementation issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions