-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Description
Wrapping a div
works while wrapping any vue component leads to an error for me. This code is within a nested tree of vue components of which one of the parents also uses draggable (without any issue there).
<draggable
:list="items"
tag="v-layout"
class="row wrap fill-height justify-space-around align-center"
ghost-class="draggable__ghost-class"
:group="{ name: 'actions' }"
>
<v-flex v-for="(action, i) in items" :key="i" class="action-plan__action__row__edit dropitem" xs4>
<!-- LEADS TO ERROR: <v-card style="height: 100px; width: 100px; background: green"></v-card> -->
<div style="height: 100px; width: 100px; background: green"></div>
</v-flex>
</draggable>
changing the div
to a vue component like v-card
results in an Cannot read property 'element' of null
error when starting to drag.
surajshetty3416, bobby-guo and HerrHansen
Metadata
Metadata
Assignees
Labels
No labels