13,356 questions
5
votes
1
answer
324
views
Why is the onDrag closure called after dropping an item in SwiftUI?
I want to implement drag and drop in a LazyVGrid and created the following view (drag'n'drop doesn't work here as I reduced the code example to a minimum in order to focus on the second call of the ...
18
votes
4
answers
22k
views
C# WinForms - DragDrop within the same TreeViewControl
I'm attempting to implement a DragDrop of a treeview item within the same control.
I want to be able to move an item from 1 node to another.
Here is my current code, When I run this I can see the ...
2
votes
0
answers
246
views
SwiftUI draggable dropped item does not disappear
I'm trying to implement drag and drop in my SwiftUI app (Xcode 16, iOS 18) but I'm seeing this weird behaviour where the dropped item would animate to the center of the drop destination, staying there ...
1
vote
1
answer
1k
views
My drag and drop file upload is not working in IE and Microsoft Edge Browser
I have written a code which implements drag and drop functionality for file upload. This code is working fine in Google Chrome, Safari and Firefox but it is not working in Microsoft Edge and Internet ...
3
votes
3
answers
2k
views
Drag and Drop in a GWT FlexTable
I'm working on a drag'n'drop functionality in a GWT project and I need to do widgets drag'n'droping onto a FlexTable.
I saw some examples on DnD within AbsolutePanel... etc, and I did researches on it,...
0
votes
1
answer
126
views
draggable modifier prevents item selection
I am playing around with a tree data structure with folders and entries. I would like to add dragging of entries and folders between folders, using .draggable and dropDestination. In my current code, ...
0
votes
2
answers
172
views
Why aren't these elements dragging and dropping as expected?
I am using Playwright and trying to drag & drop the list at this site into the right order. These locators work as expected, and the drag & drop does work every so often. I have tried dragTo(),...
3
votes
2
answers
9k
views
Drag 'n Drop Events firing multiple times
I am working on a webapp with drag 'n drop functionality.
Up to now I used basic HTML5 Dragging but now I switched to using the library interact.js.
I don't know if my problem is specific to this ...
3
votes
1
answer
132
views
placeholder disappears immediately when dropping item instead of waiting for overlay transition
I'm using dnd-kit in a Next.js project to reorder items in a sidebar. Dragging works correctly, but there is a visual issue when the item is dropped.
During dragging, I render a placeholder element (...
-1
votes
1
answer
125
views
Drag and drop using Dragula.js on mobile device works not as expected
I have a WordPress site, where I added a new page for testing dragula.js. It works partly, because I can drag and drop, but there are some errors:
when I try to drag the items down, the mobile ...
11
votes
2
answers
14k
views
full page drag and drop files website
I am trying to get similar functionality as dropbox has for drag and drop. I would like to achieve this using as basic web compoments/coding as possible. HTML or HTML5 would be best. This is for a ...
7
votes
4
answers
5k
views
Qt: How to implement simple internal drag&drop for reordering items in QListView using a custom model
I have a QList of custom structs and i'm using custom model class (subclass of QAbstractListModel) to display those structs in 1-dimensional QListView. I have overriden the methodsrowCount, flags and ...
1
vote
1
answer
8k
views
I want form builder with bootstrap & Jquery
I am trying to build a form builder with bootstrap & Jquery with components drag & drop function.
My goals:
Drag and Drop the Grid layout like (12 col, 8+8 col, 2+6+4 col )
modify the HTML ...
13
votes
1
answer
12k
views
UITableView tap and hold + drag and drop
I wanted to find out how to do the following:
I have a UItableView, which enters edit mode when the user taps and holds one of the rows
Once it enters edit mode I need the cell to remain selected ...
2
votes
1
answer
10k
views
Change order of list items using drag and drop
I have used the following html and ts for drag and drop list items from one div to another div.
Html:
<div class="listArea">
<h4> Drag and Drop list in Green Area: </h4>
<...