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

ondragstart and ondragend error #1

Closed
brunokunace opened this issue Jan 14, 2020 · 2 comments
Closed

ondragstart and ondragend error #1

brunokunace opened this issue Jan 14, 2020 · 2 comments

Comments

@brunokunace
Copy link

When set ondragstart and ondragerror props, receive error

[ERROR|/usr/local] {"text":"http://localhost:8080/_nuxt/2.js:5036_Uncaught TypeError: Cannot read property 'slice' of undefined_52_TypeError: Cannot read property 'slice' of undefined","level":"ERROR"} 

Uncaught TypeError: Cannot read property 'slice' of undefined
    at VueComponent.executeHook (2.js:5036)
    at Object.ondrag (2.js:1497)
    at Object.drag (2.js:662)
    at drag (2.js:1952)
    at HTMLDocument.moving (2.js:2006)
    at HTMLDocument.wrapper (2.js:1736)

eachDraggable and eachDroppable work fine, but i need to test when drag end, because i dont put "folder" inside another, only "files"

@phphe
Copy link
Owner

phphe commented Jan 15, 2020

Thanks for issue report. Fixed in 1.0.1

@phphe
Copy link
Owner

phphe commented Jan 17, 2020

Fixed

@phphe phphe closed this as completed Jan 17, 2020
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

2 participants