Plugin Draggable: Dragging an element downwards inserts it in wrong order
dsheyp opened this issue · 6 comments
Hi
I'm using v2.0.8 with the plugins Fold, Check, Draggable as in your Demo
When an elment is dragged downwards after dropping it will be inserted at index (placeholderIndex - 1) instead of (placeholderIndex). Dragging an element upwards works as expected.
Any ideas what's going wrong here?
Thanks
dsheyp
after drop, node will be inserted to targetPath. targetPath is same with placeholder path.
hi
many thanks for your response. please see screencast video for details
https://drive.google.com/file/d/1n1j63kIzEO4imCpWOhZNmPQUv2AlyevH/view?usp=sharing
Hi many thanks for your answer
Tree.vue was slightly modified due to incompatibilities with jsx
Please see https://codesandbox.io/s/laughing-cerf-buenv for more details
Thank you
dsheyp
Thank you for report. It is a bug since 2.0.8. You can install previous version 2.0.7. I am fixing it.
fixed in 2.0.9