jquense / react-big-calendar

gcal/outlook like calendar component
http://jquense.github.io/react-big-calendar/examples/index.html
MIT License
7.93k stars 2.25k forks source link

Drag and Drop example code has issues when dropping to / from all-day events #2601

Closed ganning127 closed 6 months ago

ganning127 commented 6 months ago

Check that this is really a bug

Reproduction link

https://github.com/jquense/react-big-calendar/assets/62436772/e318fcf9-a59c-4855-bfd2-47fd7d22f2fd

Bug description

In the Drag and Drop example, there are two bugs:

  1. When dragging an event from the weekly calendar portion TO make it an all day event, it does not work (and just goes back to where it was before the drag)
  2. When dragging an event from the all day portion TO the weekly calendar portion (to not make it an all day event), it does not work (and just goes back to the all day portion)

Expected Behavior

  1. Dragging an event from the weekly calendar portion to the all day portion, the event should become an all day event
  2. Dragging an event fro the all day portion to the weekly calendar portion, the event should no longer be an all day event.

Actual Behavior

See above for actual behavior.

react-big-calendar version

1.12.1

React version

11.11.4

Platform/Target and Browser Versions

macOS Chrome Sonoma 14.4.1

Validations

Would you like to open a PR for this bug?

github-actions[bot] commented 6 months ago

:tada: This issue has been resolved in version 1.12.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: