Skip to content

Lesson 9. Drop event fires twice #33

Description

@Paprikas

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions