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

For Month view event does not come back if its undroppable (e.g we try to move it outside the calender) #2543

Open
4 of 5 tasks
jaimin-webbrains opened this issue Mar 21, 2024 · 3 comments
Labels

Comments

@jaimin-webbrains
Copy link

Check that this is really a bug

  • I confirm

Reproduction link

https://www.awesomescreenshot.com/video/26015205

Bug description

For Month view event does not come back if its undroppable (e.g we try to move it outside the calender). This is not the case in weekly and daily view

Expected Behavior

While dragging event outside in monthly view and dropping outside calender it should come back automatically as this happens in daily and weekly view.

Actual Behavior

While dragging event outside in monthly view and dropping outside calender it should come back automatically as this happens in daily and weekly view.If after leaving mouse if we click anywhere in calender it comes back

react-big-calendar version

1.6.8

React version

16.13.1

Platform/Target and Browser Versions

All browsers

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
@nourbenamor2001
Copy link

Hi @jaimin-webbrains ! Your screenshot link does not work, could you please give us the exact code that causes this behavior ? Thank you !

@jaimin-webbrains
Copy link
Author

https://www.awesomescreenshot.com/video/26015205?key=08afc9c3cd19b29f076a07abe4ba89b1
Sorry for inconvenience Mr @nourbenamor2001 . please check this link as i cannot copy paste code here. I have tried your sample code for monthly events.

@OnsKharrat06
Copy link
Contributor

Hi @jaimin-webbrains !

I have reproduced this issue on my end and I believe it is a bug.

When we drag an event outside the day or week views, it goes back to its initial state automatically as soon as you drop the dragged event outside of the view (without having you click again on the view).

However, on the month view, after dragging an event outside of the view, the view remains blocked and does not automatically go back to its initial state. Despite dropping the dragged event, I had to click back on the view to make It circle back to the initial state.

Here is a video detailing the bug reproduction on my side

Bug_reproduction.mov

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

3 participants