phphe/vue-draggable-nested-tree

not working drag..

kyung-yeon opened this issue · 3 comments

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

phphe commented

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

@phphe
draggable-helper updated 2days ago.

phphe commented

fixed in 2.2.18