question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug - Drag&Drop resizes events

See original GitHub issue

Bug - Drag&Drop resizes events

  • When dragging an event sometimes it resizes. It happens in two latest versions (0.22.1, 0.22.0).
  • It works fine in version 0.21.0, but it uses old unsave lifecycle methods componentWillReceiveProps and componentWillMount which without UNSAFE_ prefix won’t work in React version 17.
  • Can you please fix this bug?

react-big-calendar-bug

  • I cloned the component’s repozitory and run it (link). But it doesn’t work either in my testing project.
  • version: 0.22.1
  • Opera, Chrome, Mozilla Firefox on Ubuntu Budgie

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:5

github_iconTop GitHub Comments

2reactions
rever96commented, Dec 16, 2019

That’s still not fixed, every import of react-big-calendar is using ^4.0.1 version of date-arithmetic. Changing it manually to 3.1.0 on package-lock.json doesn’t help, either add "resolutions": { "date-arithmetic": "3.1.0" }, to package.json doesn’t help

2reactions
mustafahlvccommented, Oct 24, 2019

There is a workaround for the resize issue from: https://github.com/intljusticemission/react-big-calendar/issues/1387#issuecomment-531465438

You can also add the the specific version in the resolutions of the package.json:

 "resolutions": {
        "date-arithmetic": "3.1.0"
  },
Read more comments on GitHub >

github_iconTop Results From Across the Web

Docs Event Dragging & Resizing - FullCalendar
Allow events' durations to be editable through resizing. eventResourceEditable. Determines whether the user can drag events between resources. droppable.
Read more >
[BUG] dragConstraints are gone when resizing the window ...
Im creating a carousel that overflows the main window, and using drag with drag constraints to interact with the carousel. This all works...
Read more >
JavaFX drag events affected by window resizing
The Node is clicked and dragged both before and after the window is resized (enlarged). It seems the drag events don't recognize the...
Read more >
onresize events should fire while resizing the window, not just ...
On my Moz 1.3 (Gecko/20030312), the OnResize events fires (fairly) continuously as the browser is resized but **only on the first resize after...
Read more >
angular-calendar documentation - GitHub Pages
week-view: the drag behaviour now mimicks the resize behaviour where you can drag an event down to move it into the next day....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found