Cannot correctly resize or move multi-day events with showMultiDayTimes

Author: mckyCreated Feb 26, 2020Updated May 19, 2026

Do you want to request a feature or report a bug?

Report a bug

What's the current behavior?

Mutli-day events disappear when trying to resize on the week view. with showMultiDayTimes set to true. Viewable by trying to resize in the example repro: https://codesandbox.io/s/rbc-c3vbm From debugging so far it seems to be caused by invalid dates

Screenshot 2020-02-26 at 18 34 38 See in the above start is invalid

Screenshot 2020-02-26 at 18 30 49 Because it's calculating that diffMins = 88

Screenshot 2020-02-26 at 18 30 30 But there are only 49 slots for the day, so it returns undefined, which dates.min tries to convert to a date

I need to investigate further but I'm not sure if it should be using the end of the first day rather than the last to calculate diffMins?

What's the expected behavior?

The event is resized, with only the start or end adjusted to the new time

Source: bigcalendar/react-big-calendar