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

Lesson 9. Drop event fires twice #33

Open
Paprikas opened this issue Jul 3, 2022 · 0 comments
Open

Lesson 9. Drop event fires twice #33

Paprikas opened this issue Jul 3, 2022 · 0 comments

Comments

@Paprikas
Copy link

Paprikas commented Jul 3, 2022

I gues it is something with new versions of Vue handling @drop event differently.
Anyway, for those who stuck with double firing, here is the fix. Add .self modifier

<AppDrop @drop.self="moveTaskOrColumn"

Same for tasks and columns.

Read more https://vuejs.org/guide/essentials/event-handling.html#event-modifiers

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