Skip to content

not working drag.. #90

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

Closed
kyung-yeon opened this issue Aug 12, 2019 · 3 comments
Closed

not working drag.. #90

kyung-yeon opened this issue Aug 12, 2019 · 3 comments

Comments

@kyung-yeon
Copy link
Contributor

kyung-yeon commented Aug 12, 2019

Uncaught TypeError: Cannot read property 'offsetHeight' of undefined
    at Object.drag (vue-draggable-nested-tree.es.js?d30b:1355)
    at drag (draggable-helper.esm.js?acb5:122)
    at HTMLDocument.moving (draggable-helper.esm.js?acb5:181)
    at HTMLDocument.wrapper (drag-event-service.es.js?6d58:79)

There is an error on this line..
vue-draggable-nested-tree.es.js line number 1355
dplh.innerStyle.height = store.el.offsetHeight + 'px';

why not found offsetHeight?

스크린샷 2019-08-12 오후 12 51 06

@kyung-yeon kyung-yeon changed the title not work drag.. not working drag.. Aug 12, 2019
@phphe
Copy link
Owner

phphe commented Aug 12, 2019

Ignore it if it does not affect the result. I am reconstructing this repo so I am not going to solve the issue.

@kyung-yeon
Copy link
Contributor Author

@phphe
draggable-helper updated 2days ago.

@phphe
Copy link
Owner

phphe commented Aug 14, 2019

fixed in 2.2.18

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