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
Events get duplicated times when dropping and updating them from the options object #358
Comments
Thanks, I can see the issue but I'm not sure it's a bug in the calendar. It's best if you can provide a more minimal demo, for example by starting with the example project and only adding the code which causes the bug. |
Here is a little bit more reduced example: Please pay attention to line 62. This is the (only) place where the calendar get's updated and the data passed, does not match with what is displayed. |
Thanks for the details. I'm not very familiar with how Angular works and was suspicious the issue was related to |
@acerix yes, it seems so. Looking at the code for the angular integration my suspicion would be that this is at least partly a problem of fullcalendar itself as the correct options get passed as they should. And if I may say so: Additionally the part with |
After playing around with it some more I recognized, that this seems (at least also) to be happening while an event is being dragged around and not necessarily when it is dropped. EDIT: Though it also happens only after an event was resized. |
Would you accept PRs in case I find the cause of it? Unfortunately that's a real blocker for Super Productivity's calendar feature. |
I am able to reproduce this issue too @acerix |
This ticket is superseded by the other ticket you made @johannesjo: I reopened it and made a new comment |
Follow up to: #357
Steps to recreate:
Result:
Events will be duplicated multiple times until the calendar is completely rererendered (by navigating away and then back).
Is your bug/feature applicable to the core project, without Angular?
I am not sure.
The text was updated successfully, but these errors were encountered: