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

Dragging throws TypeError: e.onDragendHandler is not a function #90

Open
roger-perry-gmx opened this issue Feb 13, 2021 · 2 comments
Open

Comments

@roger-perry-gmx
Copy link

This occurs using sl-vue-tree in a .vue component. It seems to be triggered by having a item 'selected' within a sl-vue-tree row. Also, there is no onDragendHandler in sl-vue-tree.js.

@christopherchristensen
Copy link

I had this problem because I used the router-link component in the title-slot, which renders an anchor tag. The anchor tag is draggable per default, which conflicted with the dragging event of the sl-vue-tree. The solution in my case was to add draggable="false" to the router-link component.

@roger-perry-gmx
Copy link
Author

thanks @christopherchristensen

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