You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using onSelecting(), when selecting a slot by dragging upwards instead of downwards (i.e. clicking where the slot should end and moving the cursor up to the time where it should start), and then holding the mouse button down while waiting once the slot is selected, the calendar will instead select the desired start time as end time and set the start time to 00:00:00 on the selected day.
When reproducing with the reproduction link, the first alert will be issued for the correct time slot, then the selection will change and also output the incorrect time slot.
It could potentially be a bug with react-big-calendar in Chrome also, there are 1-2 other bugs that only happen there, but I haven't looked into them yet
Check that this is really a bug
Reproduction link
https://jquense.github.io/react-big-calendar/examples/index.html?path=/docs/props--on-selecting
Bug description
Using
onSelecting()
, when selecting a slot by dragging upwards instead of downwards (i.e. clicking where the slot should end and moving the cursor up to the time where it should start), and then holding the mouse button down while waiting once the slot is selected, the calendar will instead select the desired start time as end time and set the start time to 00:00:00 on the selected day.When reproducing with the reproduction link, the first alert will be issued for the correct time slot, then the selection will change and also output the incorrect time slot.
Expected Behavior
No response
Actual Behavior
No response
react-big-calendar version
1.5.0
React version
18.2.0
Platform/Target and Browser Versions
macOS Monterey 12.6, Google Chrome 106.0.5249
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: