Skip to content

No more droppedElement ? #75

Open
Open
@davestewart

Description

@davestewart

Hey,

have just converted a project to Type Script and checking the types as outlined here:

kutlugsahin/vue-smooth-dnd#44

I have I haven't looked at this in an IDE, but it looks like droppedElement has been removed:

// droppedElement: draggableInfo.element.firstElementChild,

Even though it is used in code:

https://github.com/kutlugsahin/smooth-dnd/blob/master/src/dropHandlers.ts#L10

Also, it seems that the exported type doesn't match up?

https://github.com/kutlugsahin/smooth-dnd/blob/master/src/exportTypes.ts#L21

TBH, I'm not sure I used droppedElement, but interested to find out what's happening.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions