13,356 questions
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, ...
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 ...
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
1
answer
190
views
DragDrop Copy effects with PictureBoxes? Is it making an actual copy of the source file?
I'm currently trying to create a simple drag-drop effect using pictureboxes. It works perfectly fine; however, I'm then trying to deduce the drop target's resource file in order to know if it needs to ...
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
1
answer
65
views
Element gets white gradient transparent during drag-bug behaviour
I’m working on an Angular 15 application that uses PrimeNG v15 and Angular CDK for drag-and-drop functionality. When I drag a row element, the drag preview shows a white gradient overlay, making the ...
Best practices
0
votes
1
replies
131
views
What would the correct HTML5 elements/aria-roles for a drag-and-drop UI?
I want to implement an interface where some "slots" start out empty and can be filled with "objects". Something roughly like:
My question is, what would the correct aria-role (or ...
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 ...
5
votes
1
answer
207
views
Change the preview icons of the dragged files when the source is the OS file system or another application
Intro
When dragging item(s) from another application into the DnD Node in JavaFX The operating system or the source application handles the visual display of the dragged item(s) since it is the source ...
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 ...
3
votes
1
answer
133
views
SwiftUI - Drag and Drop .MOV Files?
This been really getting me confused on how to use Drag and Drop for MOV Files on macOS. Below is the code that I have up and running. But I think the part that confuses the most is how to make a .Mov ...
2
votes
2
answers
167
views
Drag/drop an expanded row into another set of expanded rows - Angular Material
I want to have the ability to drag and drop one of the rows that expand in the table to another set of rows that expand in the table. I have added drag and drop properties in the HTML for the expanded ...