Event is extended once dragging starts
See original GitHub issueDo you want to request a feature or report a bug?
bug
What’s the current behavior?
- Clone
react-big-calendar
- Run
yarn
andyarn examples
- Visit
http://localhost:3000/examples#dnd
- Drag the first event
- Event end date is changed once we start dragging
What’s the expected behavior?
Event span should not be changed when it’s being dragged.
This problem doesn’t exist in v0.21.0 and is introduced in v0.22.0.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:7
- Comments:5
Top Results From Across the Web
Event is extended once dragging starts · Issue #1387 - GitHub
Event span should not be changed when it's being dragged. This problem doesn't exist in v0.21.0 and is introduced in v0.22.0. The ...
Read more >Docs Event Dragging & Resizing - FullCalendar
Allow events' start times to be editable through dragging. ... Time it takes for an event to revert to its original position after...
Read more >7.7 Drag and drop — HTML5 - W3C
To make an element draggable is simple: give the element a draggable attribute, and set an event listener for dragstart that stores the...
Read more >Drag-and-drop events in JavaScript - OpenReplay Blog
Drag Events are an extension of the mouse events provided to us by the HTML Drag and Drop API, and they are available...
Read more >dragend, dragenter, and dragleave firing off immediately when ...
They seem to fire off all the drag events at once as soon as you start dragging them. I'm using the latest Chrome...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same issue
@alexseitsinger @josephktcheung @Abror1997 @erald14 we have found a workaround for this problem https://github.com/UpLab/react-big-calendar The problem is that this package relies on the date-arithmetic plugin of version 4.0.1 which has a significant bug in dates.add function when calculating the end date of the event on drag. The solution is to downgrade this dependency to 3.1.0. you can use react-big-calendar: github:UpLab/react-big-calendar#master in your package.json for now