Questions tagged [drag-and-drop]

It allows you to "grab" an object using the mouse and drag it to a different location. Drag and Drop can be done on browser-based application (web) or on native GUI applications like android or desktop

13309 questions
4
votes
5 answers

How to disable iOS 11 and iOS 12 Drag & Drop in WKWebView?

Long-pressing images or links in a WKWebView on iOS 11 and 12 initiates a Drag & Drop session (the user can drag the image or the link). How can I disable that?
Johannes Fahrenkrug
  • 42,912
  • 19
  • 126
  • 165
4
votes
0 answers

Drag and Drop Folders no working in Chrome browser for Chromebook

Setup: Chrome Browser Version 65.0.3325.9 (Official Build) dev (32-bit) on Acer Chromebook I am trying to support drag and drop of folders for my app from within Chrome browser. I use DataTransferItem API listed here:…
4
votes
0 answers

Is Vue suitable to build a website builder?

I am looking to create a website builder using Vue. Think something like Wix, Squarespace and Webflow, where users can drop elements on the page (Div blocks, Containers, Sections etc.) and style those elements. One important requirement: The page…
NvdB31
  • 81
  • 2
  • 8
4
votes
0 answers

Initiate UITableView Drag Programmatically?

I have iOS 11 drag and drop setup on my UITableView and can freely reorder my cells as I please using UITableViewDragDelegate & UITableViewDropDelegate. I want to initiate a drag of multiple cells/objects upon holding a section header in my table.…
Josh Kahane
  • 16,765
  • 45
  • 140
  • 253
4
votes
0 answers

DataFlavor.javaFileListFlavor and Mac OS X clipboard

I'm implementing drag-and-drop and copy/paste file export in a Java application that needs to run on Mac OS, Windows, and Linux. I've got a Transferable implementation that handles DataFlavor.javaFileListFlavor and I've managed to get drag-and-drop…
rainbowgoblin
  • 1,221
  • 12
  • 28
4
votes
1 answer

Handling drag and drop of files inside Eclipse Package Explorer

I'm trying to create an Eclipse plugin to support a proprietary project file format. My goal is to be able to drag and drop a file in the Project Explorer (any type of file) onto a file of the type I support, and have the name of the file being…
Jon O
  • 6,532
  • 1
  • 46
  • 57
4
votes
1 answer

Rubaxa-Sortable Failed to execute 'matches' on 'Element': '>*' is not a valid selector

I am using vuejs and Rubaxa Sortable JavaScript library. The sortable is working fine with
  • but with table-rows, it's giving this error when I rearrange by drag-and-drop. Sortable.min.js:3 Uncaught DOMException: Failed to execute 'matches'…
Codeformer
  • 2,060
  • 9
  • 28
  • 46
4
votes
1 answer

What's the difference between FileList and File[] (aka. Array of File)

When I receive file drops in a Browser, I get a FileList object. What's the purpose of this type? As far as I can see, it is nearly the same as a Typescript File[] or a good old JavaScript array of file objects. From what I could find, FileList is…
Simon Warta
  • 10,850
  • 5
  • 40
  • 78
4
votes
2 answers

Web ui Drag & drop designer

i know Ext Designer, but i cannot reach in time to take the demonstration period of it. I think that on the internet will be a lot of Ext Designer like apps. If someone knows a similar product (don't want dreamweaver or similar) can say me the…
Brookete
  • 251
  • 1
  • 4
  • 13
4
votes
2 answers

Drop nodes in a JTree at different nesting levels

I am implementing drag and drop in a JTree. I want the user to be able to drop a node at different levels in the tree. In the example below, imagine that the user inserts an item between "grandchild A2" and "child C": root child A grandchild…
Vincent
  • 170
  • 1
  • 8
4
votes
1 answer

Ask confirmation on delete in ng2-dragula

I am using ng2-dragula im my Angular5 application. I need to get confirmation from user before deleting an item. Currently I have enabled removeOnSpill: true, so when the user drag out the item out of the container the item will be removed…
Rosa Mystica
  • 243
  • 1
  • 3
  • 17
4
votes
0 answers

Jest and Enzyme simulating onDrag event for React unit testing

I have a problem with simulating drag event in my React Enzyme Jest unit test. Spy is never called in opposite to the dragStart and dragExit. Working ones are basing on mouse event and drag of course not - many tries of simulating it in strange ways…
Artimal
  • 651
  • 7
  • 24
4
votes
0 answers

How to instantiate directive in a Angular component created dynamically?

I'm creating a component through the ComponentFactoryResolver dynamically. But can't apply any directive to it. ComponentCreation const componentFactory = this.componentFactoryResolver.resolveComponentFactory(component); const componentInstance:…
nomanbinhussein
  • 282
  • 5
  • 11
4
votes
0 answers

Draggable Expandablelistview parent and child relationship Android

I have implement Expandable list view in navigation drawer. My Question is I have drag and drop Work to Personal so now Work is personal child this is possible in android? That is possible how? Project -Personal -Work -Shopping Now i do this…
4
votes
1 answer

transfer JSON using dataTransfer.setData with Drag and Drop

I'm trying to transfer JSON data (instead of a string) with HTML5 drag-and--drop When a drag is started you can set the data: e.originalEvent.dataTransfer.setData("application/json", {x: 10}); }, And when the draggable is…
Jeanluca Scaljeri
  • 26,343
  • 56
  • 205
  • 333
1 2 3
99
100