Questions tagged [drag-and-drop]
It allows you to "grab" an object using the mouse and drag it to a different location. Drag and Drop can be done on browser-based application (web) or on native GUI applications like android or desktop
drag-and-drop
13,457
questions
0
votes
0
answers
14
views
can anybody tell me how we can make the q-table rows draggable in quasar
I have tried with vuedraggable package and quasar-ui-q-draggable-table package but it is not working in q-table quasar.The vuedraggable package is widely used for drag and drop operations in Vue.js ...
0
votes
0
answers
9
views
Reactflow, how to make custom nodes as droppable areas for draggable elements
I want a workflow feature, using react flow, but I want to be able to drag and drop components into each node. Maybe this is possible somehow by creating custom nodes with react flow?
But I'm having a ...
0
votes
1
answer
15
views
WPF Drag and drop - System.InvalidOperationException. Dispatcher processing has been suspended, but messages are still being processed
I'm trying to make a window with two panels between which TextBoxes can be moved.
My code:
MainWindow.xaml
<Window x:Class="DragAndDropTest.MainWindow"
xmlns="http://schemas....
0
votes
1
answer
24
views
Cannot drag again after dropping an element
I have this code:
import SwiftUI
struct ContentView: View {
@State private var offset = CGSize.zero
var body: some View {
ZStack {
Color.red
HStack {
Group {
...
-2
votes
0
answers
22
views
How to optimally draw images on canvas and implement drag functionality on them? [closed]
I am trying to develop an Image Editor, which provides functionality to add multiple images on canvas and make image draggable. I have implemented a solution but it sky rockets my CPU usage.
On every ...
0
votes
0
answers
23
views
Why iPhone's Phone app (contact section) is not importing UIDragItem with contact data ? (CNMutableContact)
I have contact data in my iOS app. I've created a CNMutableContact object and populated it with this data. Next, I created an NSItemProvider with this data and used it to create a UIDragItem. However, ...
0
votes
0
answers
18
views
How to get information about nested useDropable()?
I have a container that has useDropable() as well as use useSortable():
What I want to achieve is when there is sorting interaction, the other container can be dropped inside the containers which have ...
0
votes
1
answer
31
views
Dnd-kit transition doesn't work on drop of draggable item
I'm creating a simple quiz which has 4 droppable areas and 4 draggable items and idea behind this quiz to move all items into correct order or just to correct droppable zone.
Now everything is ...
0
votes
0
answers
34
views
C++ DearImGUI Drag and Drop with personalized data type
I'm currently struggling with dragging and dropping textures from one ImGui window to another and rendering them there.
I'm storing all necessary data to render my texture in a struct called Texture::...
0
votes
0
answers
28
views
Draggable items break styles on dragging
I'm creating a sequence quiz and chose @hello-pangea/dnd package (which is rewritten react-beautiful-dnd and I succeeded to create a simple component but I faced a problem that when I grab draggable ...
0
votes
0
answers
30
views
How to drag a table view item to Finder to create a folder in Catalyst App
I have a UITableView that displays a Group/Note hierarchy analogous to a Finder Folder/Files hierarchy. I have implemented Drag and Drop such that if I drag a Note to the Finder Desktop an HTML file ...
0
votes
0
answers
11
views
Drag and Drop Mat-tree and keep showing dragged element inside starting list
Every time I drag an element outside its list, said element is hidden/removed until I drop it in the same list or in another one.
In conclusion I want the list to not change its layout while I'm ...
1
vote
1
answer
62
views
Drag and drop in WPF on .NET 8 / C# does not work - bug in framework? [duplicate]
I was working on another project and thought I was done until I tested the drag and drop capability (following a code example) and it failed to work as expected.
I created a simple WPF project on .NET ...
0
votes
0
answers
28
views
Get reference to dragged element when dropped on iframe
I'm dragging and dropping a DIV from a parent window onto a nested iframe but I can't get any info on the dragged DIV. In the source of the iframe I have this
window.addEventListener('load', e => {
...
0
votes
0
answers
27
views
For a node-based, free drag-n-drop appliaction, does react-dnd offer anything that reactflow does not?
Since React Flow provides a way to implement drag-n-drop, are there any benefits to also use React Dnd?
An example of a purely React Dnd implementation is here. If connections were to be added, would ...