All Questions
Tagged with drag-and-drop draggable
635
questions
1
vote
1
answer
41
views
Angular Drag & Drop with nested section and subsection
I am trying to implement a drag-and-drop feature in my Angular 14 Application where I have nested sections and subsections. I want to move each section up or down and subsections will be moved between ...
1
vote
0
answers
39
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 ...
0
votes
0
answers
38
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
28
views
drag and drop doesn't work as expected - react.js
When I tap a todo item on a touch screen (which works fine on a PC browser), it correctly marks the item as complete and moves it down in the list, which is the expected behavior and works great. ...
1
vote
1
answer
51
views
cdkDragPlaceholder not working for horizontal Drag and Drop
I'm working on a website which involves horizontal drag and drop of elements.
I'm able to do horizontal drag and drop. But i need the user to identify where he actually dropping the elements. For that ...
1
vote
0
answers
31
views
Parent elements overflow act differently for different child elements?
I have problem with letting one child override parents overflow but not the other
#second-row {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 0px;
height: 503px;
}
.inv {
...
0
votes
0
answers
13
views
how to drag drop svg elements d3v7 d3v5 working fine but same d3v7 not working d3 drag start drag end
I am using D3.js for modify svg i want to update d3v5 to d3v7 but svg element drag drop not working in updated version old d3v5 working perfect in multiple svg. I have browsing the internet but i can'...
0
votes
0
answers
21
views
Can't change not-allowed cursor when dragging on div borders
Whenever I'm dragging a div over another one, I see the not-allowed cursor appearing and flashing when passing over the borders of another div, even if it has no borders specified.
The expected ...
0
votes
0
answers
33
views
How to change the mouse cursor when a widget in Flutter is drag (and drop)?
in Flutter I have a LongPressDraggable.
I want to change my cursor to a SystemMouseCursors.grabbing when I’m grabbing and moving around the widget how to do this?
I tried to set ...
0
votes
0
answers
33
views
Problem drag and drop React library won't' work properly
I am having a problem in my project. I am building a kanban and using the library react-beautiful-dnd
the problem I am facing is that when i load the page it won't allow me to drag and drop the ...
0
votes
0
answers
17
views
Dynamically Create Draggable items
I have a webpage with multiple rooms, these rooms contains banners that are dynamically created using a function that fetches data from the websocket. Everything is going god but since the data keeps ...
2
votes
1
answer
69
views
can't drag boxes to specific time slot in weekly calendar
I can drag and drop boxes however it drops at whatever timeslot is empty first rather dropping to actual timeslot for example, if I drop box to 26th t1 to 27th t2 then it will drop the box to t1 27th ...
0
votes
1
answer
179
views
drag and drop box showing stop sign
I want to be able to drag and drop the draggable box to any other date and it should remove that previous one.
For example if I move drag box from 5th march to 6th march it should remove from 5th ...
1
vote
0
answers
37
views
cards dont always jump to make space for a new card when reordering list
I am currently trying to implement a drag and drop in a project of mine! I have this strange thing happen sometimes where after I moved cards around once or twice and I try and move another one, it ...
0
votes
0
answers
74
views
Is there any way to implement drag and drop sortable Ant Design Collapse?
https://ant.design/components/collapse
using Collapse component from Ant.design 5.12
not able to implement vertical drag and drop sortable mechanism as the Collapse.Panel is deprecated now. So there ...
0
votes
1
answer
130
views
How to make .draggable() work with click+drag rather than long-press+drag?
I have been programming an app in SwiftUI which heavily uses the in-built .draggable() and .dropDestination() modifiers.
To enhance the user experience, I would like to make .draggable() work with ...
0
votes
0
answers
42
views
Dragged component overlapping/over drop target/component so onPointerOver/onPointerEnter event of below component not firing
In my react project, I was able to implement a crude implementation of drag and drop as I didn't want to rely on any drag and drop libraries in order to have a fundamental understanding of how to ...
-2
votes
1
answer
108
views
Dragging a element at a position of Cursor in ReactJs
I am trying to build a game in React, It needs a Drag-and-drop feature. The game has two major components, SideBar and a GameBoard. SideBar contains elements to be dragged onto GameBoard. The Drag and ...
0
votes
0
answers
78
views
ngx-datatable with Draggable Rows
I am trying to implement the drag and drop functionality for but it doesnt work. The structure of my code is as below:
<ngx-datatable class="material" [columnMode]="ColumnMode....
0
votes
1
answer
342
views
Listeners conflict while working with dnd-kit
I am working on a todo list application and I wanted to make the todos draggable.
I am using dnd-kit to achieve the same.
I provided the DndContext and SortableContext in my parent container.
...
0
votes
0
answers
64
views
Different level drag and drop with ng2-dragula
I am using ng2 dragula in my angular app. Nested drag and drop is available in my case as follows.
-a
--b
--e
---k
--f
-c
--g
--h
---i
--j
-d
Here we have parent, child ...
1
vote
1
answer
357
views
Angular 17: select correct ElementRef of children component on mouseover event
I am constructing draggable and resizable elements in a circumscribed area.
When I hover these elements I dynamically apply sensitive dots (red squares) over them so that I can also perform resizing.
...
4
votes
1
answer
609
views
dnd-kit: drag relative to mouse pointer instead of draggable
Using @dnd-kit/core the default behavior is to have the dragged element (and the div within the DragOverlay) be dragged relative to its original position. If I click and drag the Draggable at some ...
0
votes
0
answers
73
views
How do I change the source of an image drag to the desktop using HTML5 Drag and Drop API?
I have a
<div draggable><img src="https://example.com/test.webp" alt="testing" /></div>
element on a page. By default on MacOS (Chrome or Safari), if you drag ...
1
vote
0
answers
276
views
How to do multi-select in dnd-kit/core React JS
Please how can I implement multi-select in dnd-kit?
This storybook shows it in action but the full code wasn't shown LINK TO STORYBOOK
0
votes
0
answers
9
views
dragged items to correct target spot
I am making my to-do list items draggable. When the dragged element is 'over in the list'/'gets dragged down' it is added to the spot before target and target stays in the same spot. It also means ...
0
votes
0
answers
78
views
Xarrow not updating when I scroll down
I'm using Xarrow in a react project to connect between draggable components, the problem is that when I drag a component down and scroll to see it, the arrow doesn't update and it stays in it's ...
5
votes
2
answers
388
views
.dropDestination doesn't execute with my custom transferable type
I have defined
import SwiftUI
import UniformTypeIdentifiers
enum LayerType: String, Codable, RawRepresentable {
case text
case image
}
struct TransferableLayer: Identifiable, Hashable, ...
0
votes
1
answer
180
views
Multiple Moveable Resizable Windows with HTML / CSS
I am attempt to make multiple moveable resizable windows using only HTML / CSS.
Based on this post from CSS-Tricks I have made two windows and they can both be moved.
However, the second window ...
0
votes
1
answer
81
views
ReactSortable render nested component?
My purpose to implement dragging elements from one list to another, example:
Dragging layout2 element (has 2 nested blocks) into editor.
Dragging paragraph into the one of two layout blocks.
The ...