drag-and-drop Questions
6
How can I set so that only .btn-drag can drag whole row? I am using https://github.com/SortableJS/Vue.Draggable
Currently I can drag also with button#options which is undesired
<draggable v-...
Garter asked 26/12, 2017 at 20:36
3
Solved
I am creating a WPF data grid, and I want to be able to reorder rows by dragging and dropping, like this: I click on a row and drag it up or down. As I do, a marker shows where the row will be drop...
Acrylyl asked 17/9, 2009 at 11:9
4
Solved
I have an app that stores files and uses drag+drop to upload them. Is there a way I can drag+drop to download the file to my desktop instead of having to click "download." Basically, the opposite o...
Colburn asked 23/3, 2011 at 20:53
4
So the issue is pretty simple:
clicking on circle and moving the line
[
Desired output
[
Now I'm trying to execute the exact thing with Cypress with the following code (will show all veriations...
Tee asked 10/11, 2021 at 10:40
20
Solved
I'm building a drag-and-drop-to-upload web application using HTML5, and I'm dropping the files onto a div and of course fetching the dataTransfer object, which gives me the FileList.
Now I want to ...
Meghan asked 29/6, 2010 at 20:20
5
Solved
I have a debugger log that I've written in JavaScript for a project I'm working on. The log is basically an <aside> tag in HTML5 that only shows when needed. I wanted to play around with the ...
Sulphuryl asked 3/6, 2011 at 17:57
2
Solved
I am trying to build a very basic sortable using react dnd-kit, and everything works, except one thing : the first element of my sortable array doesn't move when it is dragged (it moves when other ...
Dementia asked 3/10, 2022 at 13:36
8
Solved
I am trying to figure out how to move the items in a pre-populated listbox up and down via mouse drags.
I have looked at the Control.DoDragDrop method from microsoft's api, but I still can't get ...
Dispend asked 28/7, 2010 at 5:39
4
Solved
How to implement drag and drop for Facebooks' react.js with support for touch events?
There's a couple of questions and articles and libraries about drag and drop for react.js, but none of them se...
Parados asked 8/1, 2015 at 10:9
3
hi.
I'm trying to find out how to hide the "drag not allowed" cursor during a drag operation.
I could be okay with changing it too, if removing isn't possible. I feel like I'm not getting...
Filature asked 9/2, 2022 at 13:3
4
Solved
I am using jquery ui draggable, and eventually droppable to make it possible to reorder pictures into different boxes.
When I drag a picture out of the box it appears under all the other elements ...
Dercy asked 31/7, 2013 at 18:10
1
I have implemented drag and drop for one view. Now I want to change the state of the source view at the start of a drag operation and change the state back at completion or cancellation.
The follow...
Breastfeed asked 13/8, 2021 at 17:40
3
How does one determine the (x,y) coordinates while dragging "dragover" and after the drop ("drop") in HTML5 DnD?
I found a webpage that describes x,y for dragover (look at e.offsetX and e.layerX t...
Waylon asked 13/3, 2010 at 12:34
2
Solved
When I swap two distant items on a grid it 'redoes' the swap animation (going backwards then forwards again). It works fine when the items are very near as you can see in the following gif:
I've f...
Garett asked 22/7, 2023 at 23:19
1
Our app has a "Form Builder" where users build a form by dragging form fields onto it. I'm researching how we would make this keyboard accessible - such that a user could...
grab a field...
Nicoline asked 4/5, 2020 at 14:20
5
Solved
I am trying to make jquery add new div and then make it draggable but i have been trying and looking on google and i can't find anything here is my code below
$(document).ready(function() {
$("...
Passion asked 21/8, 2010 at 17:37
2
I need to somehow notify RecyclerView when I drag and drop an item from another RecyclerView onto it.
Is it possible?
Or should I use classic Drag and drop framework?
RecyclerView with blue ...
Josefinejoseito asked 6/6, 2016 at 13:44
2
The relationship between these two properties seems to have been the source of some confusion. Based on reading both the MDN site and MSDN I thought i had figured it out, but now I am not sure...
I...
Instep asked 9/12, 2013 at 12:58
2
Solved
Using https://www.npmjs.com/package/react-beautiful-dnd after reordering some element for the first time, reordering of the previously moved item is not possible and the console prints
Unable to f...
Wigley asked 1/11, 2022 at 17:14
3
Solved
I have a simple view which contains a group of Buttons which allow drag feature depends on condition.
How can i disable .onDrag based on the condition? The .disabled only disable click function.
...
Reproval asked 23/4, 2020 at 14:37
2
Solved
I'm trying to drag a contact from Contacts into my application.
Here is my updated code:
import SwiftUI
import UniformTypeIdentifiers
let uttypes = [UTType.contact, UTType.emailMessage]
struct Con...
Tamayo asked 29/10, 2020 at 9:48
2
Solved
The title is pretty self explanatory.
All the demos I've found consist in dropping a div to a certain location. E.G a trashcan. I need to make a draggable div that can be dropped anywhere on the s...
Floorman asked 2/9, 2011 at 1:30
2
I have been working on react-dnd (which is drag and drop component). So, far drop target get identified based on mouse pointer, I am wondering is there any option to change it like, which the drop ...
Charissacharisse asked 6/7, 2017 at 7:33
5
Solved
Im struggling with seemingly a simple javascript exercise, writing a vanilla drag and drop. I think Im making a mistake with my 'addeventlisteners', here is the code:
var ele = document.getElement...
Mattland asked 25/8, 2013 at 2:27
3
Solved
I have a page that I'd like to bind drag/drop events to. I'd like the entire page in the browser to be the drop target, so I've bound my events to the document object. My application's content is l...
Mink asked 23/7, 2012 at 12:50
© 2022 - 2025 — McMap. All rights reserved.