2,516 questions with no answers
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 ...
3
votes
0
answers
167
views
On Wayland, my SDL2 program crashes with 'Wayland display connection closed by server' when drag and dropping an file?
My program creates a window and renderer, and I have a basic event loop to handle SDL_DROPFILE events:
#include <stdio.h>
#include <stdbool.h>
#include <SDL2/SDL.h>
#define ...
0
votes
0
answers
86
views
TipTap Shows Horizontal Line Cursor When Drag-and-Dropping on a New Line
When I drop content into the TipTap editor on a new line that doesn’t already exist, I see a horizontal line cursor. Why does this happen, and how can I fix it?
here is my tiptap extension ...
1
vote
0
answers
88
views
How to implement Gtk 4 Rust file drag and drop?
I have been trying to implement a simple drag and drop application in Gtk 4 Rust but I am unable to implement a working version. I can see connect_accept getting triggered, but no matter the result, ...
0
votes
0
answers
57
views
Create draggable card using Dnd kit without knowing inital x,y position
I want to create multiple draggable components that can be moved everywhere using react's Dndkit.
However I am not manually setting the position of component(only setting height and width).
I cannot ...
0
votes
0
answers
43
views
How to get the position of a droppable container when manual positioning is not given?
I am using dndkit to create multiple draggable cards and multiple droppable containers as well.
I am not manually positioning the droppable containers, they are just placed in the DOM element on its ...
0
votes
0
answers
161
views
Trying to implement drag and drop in my React project via my Kanban component
as part of a group project, I am trying to set up a kanban system similar to those used by YouTrack, Trello, and others to manage project tasks from one status to another by moving them from one ...
1
vote
0
answers
112
views
Implement drag and drop functionality in recursive components
I'm trying to implement drag and drop functionality between two JSONs to map the keys of one JSON to another. I created the JsonViewerComponent that accepts JSON data as input and displays it using ...
3
votes
0
answers
2k
views
Android: Reporting drop result: false
I wanted to program a drag and drop button which you can move where you want.
I tryed it with onDrag(), but if I want to drop the button I get the message:
"Reporting drop result: false "
...
1
vote
0
answers
126
views
How to snap a draggable upon creation in plain JavaScript
I need to create draggable elements already snapped to a target, but I couldn't find any example about it in the documentation, Google or here...
I know there's a snapElements array on the widget ...
1
vote
0
answers
100
views
Drag and drop files from web app to software
I'm currently developing a web application and I would like to add a drag and drop (dnd) feature. I'm dealing with videos and would like to be able to dnd it directly into a video editing tool like ...
1
vote
0
answers
79
views
dragAndDropSource stops my detectTapGestures from firing. How can I support both tap and long-press-to-drag on the same Composable?
My current code
Row(
modifier = Modifier
.fillMaxWidth()
// ↓ 1. My tap detector (never sees the UP event)
.pointerInput(Unit) {
detectTapGestures(onTap = { ...
0
votes
0
answers
138
views
DragEnter event not firing reliably when mouse enters the drop zone
If you look at the SSCCE below you'll see that when files are dragged from outside my drop-zone, the CSS attribute --fade-time is modified and the target begins to pulsate so the user knows it's time ...
3
votes
0
answers
220
views
Is Windows Explorer's handling of delete on paste buggy?
The documentation on delete on paste states:
If the target does not do an optimized move, it calls the IDataObject::SetData method with the CFSTR_PERFORMEDDROPEFFECT format set to DROPEFFECT_MOVE. ...
0
votes
0
answers
48
views
Syncfusion Blazor SfSchedule Timeline Month: Multi-row per resource with drag-and-drop support
I'm working on a training scheduling application using SfSchedule in Blazor (timeline month view), and I would like to implement the following layout and behavior:
One row per training room (about 20 ...