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,455
questions
0
votes
0
answers
17
views
How to delay layout during DND?
I'm writing a feature that allows the user to create controls by dragging and dropping, similar to Keynote.
The simplified code is as follows :
Display display = Display.getDefault() ;
Shell shell = ...
-2
votes
0
answers
25
views
svelte + tailwind drag drop example css collision [closed]
I'm trying to follow the example at https://svelte.dev/repl/e62f83d69cea4fda9e8a897f50b5a67c?version=4.2.18
<script>
// https://svelte.dev/repl/915db3b3ed704fddb7ddfb64bcbc2624?version=3.31....
0
votes
0
answers
18
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
14
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
18
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
24
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
19
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
33
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
35
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
30
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
35
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
12
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
63
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 ...