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

No more droppedElement ? #75

Open
davestewart opened this issue Jun 27, 2020 · 0 comments
Open

No more droppedElement ? #75

davestewart opened this issue Jun 27, 2020 · 0 comments

Comments

@davestewart
Copy link

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.

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