forked from jquense/react-big-calendar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: preserve time on horizontal resizing (jquense#1795)
When an event is resized horizontally (e.g. on the Month View), keep the time of the event the same and only change the date. This also fixes the bug where you cannot resize an event to a single day because the `dates.max` or `dates.min` would force the event to occur at least 1 day after the `start` or `end` respectively. Co-authored-by: Jackson Hoang <jhoang@atlassian.com>
- Loading branch information
1 parent
a3aebe9
commit 1b186da
Showing
1 changed file
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters