question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to drag element between columns in a kanban format

See original GitHub issue

I am unable to grad the divs across columns. I can sort them within the same column but unable to drag them outside of the area. This is my template.

<div class="column-bodies">
          <div class="column-body" v-for="column in kanbanColumns"
             :column-id="column.id">
            <draggable v-model="flightObjects[column.text]" class="dragArea" :move="checkMove" :options="dragOptions">
              <div class="flight" v-for="flight in flightObjects[column.text]" :key="flight.id">
                <element-flight :flight="flight" :label="'kanban'"></element-flight>
              </div>
            </draggable>
          </div>
        </div>

flightObject is a computed function returning a property from data. Am I doing something wrong? Also not able to scroll while dragging an element to a column not on screen. Is that possible?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
demonmindcommented, Oct 6, 2017

I had the draggable element on the main div and not in the separate columns. Just a mistake on placement of the element.

0reactions
phaberestcommented, Oct 6, 2017

@demonmind can you please provide more information about what was the problem and how you solved it?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why can't i drag and drop issues between columns i...
For some reason I cannot drag the issues between columns on my Kanban board. The columns are set up correctly (i.e. there's 4...
Read more >
[Kanban Board Sample] I can't Drag Issues among columns.
[Kanban Board Sample] I can't Drag Issues among columns. ... It seems that your implementation only moves the HTML elements, but the actual...
Read more >
Drag and drop in JavaScript Kanban control - Syncfusion
Column drag and drop​​ By default, all cards can be dragged and dropped across the columns and within the columns. You cannot drag...
Read more >
Kanban w/ Draggable Cards in Angular :: Drag and Drop
In this tutorial, we create a Kanban Layout with Draggable Cards ... to be repositioned within their column or transferred between columns.
Read more >
HTML 5 drag and drop API: A tutorial - LogRocket Blog
Finally, we update the Card component to display the data received from Column . // Card.vue <template> <div ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found