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

Drag-n-drop not working #2

Open
az-oolloow opened this issue Feb 28, 2019 · 3 comments
Open

Drag-n-drop not working #2

az-oolloow opened this issue Feb 28, 2019 · 3 comments

Comments

@az-oolloow
Copy link

First of all, many thanks for this amazing demo!

If one is looking simply to add full calendar, it's more than extensive.

unfortunately i have run into the issue where no matter what i tried, i couldn't get the .draggable() working with Full Calendar when hosted in LWC.

I can sort of get callbacks from html5 dragging but then i have to calculate start and stop myself, and the event hover is fixed to 2 hours always.

Have you ever tried this?

@Gurenax
Copy link
Owner

Gurenax commented Mar 5, 2019

@az-oolloow
I haven't played with the draggable functionality. It looks exciting though.

Is it this one?
https://fullcalendar.io/docs/v1/draggable

@az-oolloow
Copy link
Author

@Gurenax Not really, i was talking about this particular sample: https://embed.plnkr.co/364sMw/

The only way i got it to work was using HTML5 drag n drop api which required me to bastardize a copy of fullcalendar, since it only supports jquery ui draggable out of the box.

@skammers
Copy link

Hey @az-oolloow, could you explain further this bastardize stuff? Ive been trying to get drag and drop to work for a while now. Im having the exact same problem as described in this post. The draggable element disappears whenever I start to drag.

https://salesforce.stackexchange.com/questions/252027/jquery-ui-draggable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants