Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shift + drag & drop broken on windows #2526

Open
4 of 5 tasks
mltucker opened this issue Feb 29, 2024 · 0 comments
Open
4 of 5 tasks

Shift + drag & drop broken on windows #2526

mltucker opened this issue Feb 29, 2024 · 0 comments
Labels

Comments

@mltucker
Copy link

Check that this is really a bug

  • I confirm

Reproduction link

https://jquense.github.io/react-big-calendar/examples/index.html?path=/docs/addons-drag-and-drop--example-1

Bug description

The drag & drop demo works great for me when just clicking and dragging events around. And on macos when I shift+click to drag and drop, things work fine. However on windows, the behavior is very strange when pressing shift (or any other modifier key) before starting to drag and drop. Sometimes events disappear, and sometimes they just can't be dragged. For the demo app obviously this doesn't matter since shift+drag and drop doesn't have a special behavior. However, this functionality is used in my app, and it used to work! I updated from a very old version (back when react-dnd was used in react-big-calendar), so possibly this has been broken since the new d&d implementation. Thanks!

Expected Behavior

I expected to drag and dropping events to behave normally.

Actual Behavior

The event disappears and then reappears on next click, and similar strange behavior.

react-big-calendar version

1.11.0

React version

17.0.2

Platform/Target and Browser Versions

window chrome 121

Validations

  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Make sure this is a react-big-calendar issue and not an implementation issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR
@mltucker mltucker added the bug label Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant