All Questions
Tagged with drag-and-drop draggable
635
questions
0
votes
0
answers
51
views
Catching divs on top of each other during drag and drop operation with html drag drop
I'm building a drag drop application with React. I used html drag drop. My div elements are draggable. I want to make the background of the target div yellow when dragging and dropping another div ...
5
votes
3
answers
2k
views
webpack can't resolve react-spring_core.legacy-esm.js in module of react-spring/web
My webpack.config.js
const path = require("path");
const webpack = require("webpack");
const CopyWebpackPlugin = require("copy-webpack-plugin");
const googleConfig = ...
1
vote
0
answers
401
views
how to implement drag and drop in react for touch screen and mouse screens
How to make onDrop event work for a custom Draggable component in React?
I have created a custom Draggable component in React that uses mouse and touch events to move a div element around. I want to ...
0
votes
1
answer
526
views
How to achieve this drag and drop layout in react native?
I wanted to implement drag and drop question-answer layout in react native. I have tried different libraries but have not gotten the desired output. can anyone suggest to me how to achieve this in ...
1
vote
1
answer
135
views
Drag and Drop Template using JavaScript
After Dragging a block from left container to right container, it gets removed from left container. How to prevent from removing from left container and should drag and drop multiple times the same?
I ...
1
vote
0
answers
851
views
React Beautiful DND nested drag and drop
I am creating a side navbar with react-beautiful-dnd. The navigation consists of pages and pagegroups, the pagegroups consists of more pages and pagegroups we can add pagegroups and pages in any ...
0
votes
1
answer
477
views
Simple Drag and Drop in WebAssembly
I wish to add the ability to sense a drag event in my Blazor WebAssembly component. What I want is really simple (I thought). I don't need to actually drop the item, I just need to sense the id name ...
1
vote
0
answers
288
views
calendar planner.The drag and drop is not working properly
i am building a daily planner with the help of GPT.each day of the calendar is divided in 30 minutes intervals (timeslots) and i can add tasks to each timeslot .i want to drag and drop tasks between ...
0
votes
1
answer
63
views
Why my improvements didnt make this JS Drag n Drop script stop lagging?
I have this script that works very well, it does what I want... but the only problem is that it lags when moving divs fast.
I have spent hours on internet trying to find a solution, like adding ...
2
votes
2
answers
734
views
Mouse event listeners not working after 'dragstart' is fired in Javascript
I am currently developing a drag and drop interface and would like to implement a feature that allows users to return a dragged object to its original position by right-clicking.
In the demo below, ...
0
votes
0
answers
43
views
useEffect not working to update localStorage data
I'm trying to save a list of completed to-dos when dragging it to the completed to-dos list, using the following code:
useEffect(() => {
localStorage.setItem("completedTodies", JSON....
0
votes
1
answer
481
views
I'm trying to automate drag and drop a draggable element in dart for flutter_integration testing
Trying to automate Drag and drop for testing.
Element is of type Draggable<Student>.
Tried drag() with longPress(). Tried drag with Offset and also tried moveTo() from TestGesture. But still ...
0
votes
1
answer
234
views
Flutter Drag and Drop
I'm facing a problem implementing drag and drop in my project. I want dynamically add and delete draggable elements. The problem is that I can't understand how to get the reference to the widget I'm ...
1
vote
2
answers
75
views
Why is my eventlistener being removed after an element has been dropped using drag / drop API
Below I have a simplified version of my code where I can click a button to add new elements. These element should all be draggable so they can swap places and they should also have functionality to be ...
1
vote
1
answer
786
views
SwiftUI DropDestination Using Custom Transferable Type and Using UTI / UTType Not Working
I am trying to implement drag and drop using the Transferable protocol within my app. I followed the below tutorial but can't get it to work. I created this very simple example and it still doesn't ...