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

Event sometimes disappear on drag and drop #1346

Closed
lucboutier opened this issue Oct 1, 2020 · 5 comments
Closed

Event sometimes disappear on drag and drop #1346

lucboutier opened this issue Oct 1, 2020 · 5 comments
Labels

Comments

@lucboutier
Copy link

Describe the bug

Event sometimes disappear on wrong executed (very small and no time slot change) drag and drop. The event appears again when clicking on another element of the page (Today etc.).

Reproduced on the demo:

Oct-01-2020 07-58-58

@matts-bot
Copy link

matts-bot bot commented Oct 1, 2020

Thanks so much for opening an issue! If you'd like me to give priority to answering your issue or would just like to support this project, then please consider sponsoring me

@stefanomiccoli
Copy link

I also experience the issue, mostly at the first interaction after component has been rendered.

So far I couldnt investigate the problem, however in my case both resize and click events are bound (eventTimesChanged)="onEventDrop($event)" (eventClicked)="onEventSelect($event)" and I noticed that the disappearing issue (which includes also missing the custom cell styles I define through (beforeViewRender)="beforeViewRender($event)") only happens when the eventTimesChanged is triggered instead of the eventClicked. I have to say that im pretty careful of not moving the mouse while clicking to avoid dragging between mousedown and mouseup

@mattlewis92
Copy link
Owner

Thanks for reporting, I can reproduce, I will do my best to get that fixed up in the next version! 😄

@mattlewis92
Copy link
Owner

That was not a fun one to debug haha. Should be fixed now in 0.28.22, thanks for reporting! 😄

mattlewis92 added a commit that referenced this issue Oct 20, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fixes #1346
@lucboutier
Copy link
Author

Thanks a lot for the fix!

AlexGuz23 pushed a commit to AlexGuz23/angular-draggable-droppable that referenced this issue Nov 3, 2022
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