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

Can't drag and drop an event to the same day #206

Open
wolfy007 opened this issue Oct 15, 2019 · 1 comment
Open

Can't drag and drop an event to the same day #206

wolfy007 opened this issue Oct 15, 2019 · 1 comment

Comments

@wolfy007
Copy link

wolfy007 commented Oct 15, 2019

Hello, nice vue Calendar :) In the dayspan-vuetify-example there is a possibilty to drag and drop events to the same day, where they are. Eg.: from Friday 08:00 to Friday 14:00. On the example website it works, but not locally. Everything else is working fine. I can move any event to another day, but not to the same.

I am using chrome and running it with serve.

@wolfy007
Copy link
Author

wolfy007 commented Feb 20, 2020

Actually I have found this in the Calendar component in the finishMove function:
if ((isDay && !sameDay) || (!isDay && sameTime))

because of the "sameDay" returns true, if you drag it to the same column, it will never fill the ev variable to emit the "moved" function

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

1 participant