drag-and-drop Questions

4

listeners from dnd-kit are interfering with the input:checkbox's onChange event When I work with input:checkbox onchange event dnd-kit's {...listeners} interfere with the onchange event. Listeners ...
Analog asked 3/11, 2023 at 9:16

4

Solved

I have defined import SwiftUI import UniformTypeIdentifiers enum LayerType: String, Codable, RawRepresentable { case text case image } struct TransferableLayer: Identifiable, Hashable, Codable,...
Autotomy asked 15/12, 2023 at 23:0

3

I have a fairly good amount of knowledge with Batch. I'm trying to port a batch script over to Mac/UNIX, but my batch file has a drag-and-drop thing to it. Through countless Google searches, I have...
Tribute asked 27/4, 2013 at 23:19

7

Solved

Using the Drag and Drop behavior from the Material CDK library, I'm trying to change the cursor upon dragging a cdkDrag element. For example, in this StackBlitz the cursor is grab upon hover. I'd ...
Rilke asked 7/12, 2018 at 17:43

7

I am trying to create a ListView that meets the following criteria: The items in the ListView are categorized into sections with headers for each section The items can be dragged from one section ...

1

EDIT: Here's an image of my code in action: EDIT 2: I'm curious if it's the flex box that's breaking this code? Is dragula designed to work with flex containers? I have the following container: #my...
Document asked 15/10, 2021 at 13:17

3

Referring to this answer: https://mcmap.net/q/174625/-javascript-drag-and-drop-for-touch-devices-closed How would I bind the touch events such that they will perform the dragstart and drop events?...
Lamella asked 30/9, 2014 at 12:40

4

Solved

Okay, I have an element set up to receive a file-drop event, but when I look in event.dataTransfer it is blank. I haven't gotten around to learning the drag-n-drop HTML5 API just yet and am still a...
Odericus asked 20/7, 2012 at 6:5

5

I am trying to detect if a folder or a file is dragged in the dragover or dragenter events. For example: In the ondrop event, there is an argument called MouseEvent, which has a field named dataTra...
Notebook asked 29/7, 2014 at 13:24

8

I was following along with a react-beautiful-dnd tutorial that uses react component classes instead of hooks. I was writing an equivalent program with modern react syntax when I came across this er...

3

Assumption: A local HTML/Javascript webpage that has access to file:// At the start of a drag on a draggable HTML element, in the event handler function dragStart(e), how do I add a File object so...

2

I'm currently designing a simple WinForms UserControl in C# where a user can drag and drop an excel file onto a panel instead of browsing for the file. I have it technically working, but it's very ...
Duplication asked 9/6, 2017 at 20:26

3

Solved

I've DataGridView that bound a List<myClass> and i sort it by "Priority" property in "myClass". So I want to drag an "DataGridViewRow" to certain position to change it's "Priority" property. ...
Nordin asked 25/10, 2009 at 13:39

2

Solved

I am looking for a way to create a grid of graphs that can be dragged/dropped to rearrange the order. My first try was using QDockWidgets as they allow for drag/drop, however they were limited in a...
Slr asked 31/3, 2020 at 7:6

7

Angular 7 brought the powerful DragDropModule with it: https://material.angular.io/cdk/drag-drop/examples The documentation deals with rearranging items within lists or transferring items between ...
Gravestone asked 19/11, 2018 at 15:6

2

I'm using html5's drag and drop functionalities to rearrange dom elements on screen - I attach css behavior to the various states of dragging and dropping when I do this, but the problem I'm experi...
Maurilia asked 16/8, 2012 at 14:24

4

Solved

I am trying to use react-beautiful-dnd for drag n drop sorting of a list but my elements are not draggable and I get Unable to find draggable with id: X. I have cross-check my code with examples in...
Tamanaha asked 10/4, 2022 at 17:37

2

Solved

I have been trying to find out how to get the filename of an image dropped into a SwiftUI View. The code fragment is as follows: struct MainView: View, DropDelegate { @ObservedObject var userSt...
Engelbert asked 27/10, 2019 at 14:52

3

Solved

First, to clarify, I am not asking how to drag-and-drop a file onto an exe's icon. I want to know how to handle drag and drop onto an already running win32 console application. I'm also not asking ...
Protrude asked 25/1, 2014 at 1:6

3

Solved

While trying out Bevy, I had the need for dragging and dropping sprites. Unfortunately, this does not seem to come ready made or I did not find it in the documentation. What would be the most idiom...
Snafu asked 21/12, 2020 at 16:5

6

Solved

There are some events that I can use for handling drag & drop: https://developer.mozilla.org/en/DragDrop/Drag_and_Drop there is a drag event, which is fired during the time the element is bei...
Tobit asked 23/6, 2012 at 12:36

3

Solved

Trying to test some drag and drop functionality, looks like playwright doesn't have drag and drop functionality so I'm using mouse.move(), mouse.down() & mouse.up(). However my attempts seem to...
Hume asked 6/11, 2020 at 17:12

5

<div cdkDropList #girlList="cdkDropList" [cdkDropListData]="girls" [cdkDropListConnectedTo]="[convaList]" class="example-list" (cdkDropListDropped)=&quot...
Inequitable asked 5/8, 2020 at 6:38

2

Im using view.startDrag() to start dragging operation. While dragging, events are received in OnDragListener. Also im using DragShadowBuilder to show the last image of View B while dragging. Is th...
Graphophone asked 10/6, 2014 at 12:15

3

I want to show the animation of feedback of draggable when it is not accepted by the DropTarget.Flutter doesn't show the feedback. Is there any way we can show that or control it. Like this example...
Serious asked 11/1, 2019 at 9:57

© 2022 - 2024 — McMap. All rights reserved.