draggable Questions

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

In my TODO app, I created draggable and droppable ListaItem elements using a ReorderableListView. The problem is that my ListaItem has rounded borders and a rectangular (and ugly) shadow appears wh...
Laynelayney asked 17/7, 2022 at 19:36

12

Solved

Does anyone know of a way to make an image not draggable and not selectable -- at the same time -- in Firefox, without resorting to Javascript? Seems trivial, but here's the issue: Can be dragged ...
Arceliaarceneaux asked 16/10, 2012 at 2:40

5

Solved

This one is IE specific (not anymore, apparently). We have very simple code: <div draggable="true"> <p>Text</p> <input type="text"/> </div> On Chrome it works fin...
Kissable asked 26/11, 2014 at 12:25

4

I'm using the HTML5 attribute draggable = "true" on some of my divs on my webpage. I want it so that when you drag one of these items to the bottom of the page, it scrolls the page down and when yo...
Catabasis asked 15/9, 2013 at 6:46

4

I'm trying to create a drag and drop game. I would like to make sure that the Draggable widgets don't get out of the screen when they are dragged around. I couldn't find an answer to this specific...
Trochilus asked 23/5, 2020 at 8:59

4

I've tried making this to work, but this is what happened. Using react-draggable npm package, I was able to make contents draggable and droppable. But the back of whole dialog stays in place, and...
Markswoman asked 28/8, 2017 at 23:32

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

2

I want to bring a draggable box to the front when I click on it or drag it. I don't know in advance the maximum number of such boxes because I have a button that creates a new draggable box when th...
Pastorate asked 14/2, 2023 at 17:10

3

Solved

With jQuery UI, is it possible to execute a drag & drop operation using javascript? Example. When the link is clicked, drag the #pony and drop it into the #box. I've tried triggering the drag ...
Terenceterencio asked 31/5, 2013 at 0:50

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

0

I'm trying to implement a simple drag and drop feature with the transferable protocol. In my application, I have a Task struct as follows: struct Task: Identifiable, Hashable, Equatable, Codable, T...
Selfinsurance asked 25/8, 2023 at 12:18

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

2

I'm designing a video call screen where i have to manage selfViewContainer between hole screen. On this screen, I already managed most of the parts for horizontal alignments but for vertical it's ...
Jester asked 19/8, 2021 at 6:46

10

Solved

I'm trying to use the HTML5 draggable API (though I realize it has its problems). So far, the only showstopper I've encountered is that I can't figure out a way to determine what is being dragged w...
Presa asked 16/6, 2012 at 17:59

3

Solved

So I saw the ReorderableListView demo and saw that they had the "secondary: const Icon(Icons.drag_handle)" but looking at the reorderable_list.dart file, I noticed that the entire list was dragg...
Insociable asked 8/11, 2018 at 4:16

2

I am trying to build a drag and drop list for my react project. I am using the react-beautiful-dnd library. But I am facing this error: Error: Invariant failed: Could not find required context I ...
Harmonie asked 22/1, 2021 at 19:53

2

Solved

I know there're example of doing this on the web but every example is different and so is my own implementation. I'm trying to figure what's wrong with my implementation since it doesn't work as ex...
Sweeten asked 17/4, 2015 at 15:30

18

I've trying to use the draggable effect on some divs on a page, but whenever I load the page, I get the error message: Error: $(".draggable").draggable is not a function I've had a look around i...
Ingenerate asked 24/5, 2010 at 9:17

2

I have a bunch of users that are represented by the gray boxes. I would like to move these users from one column to another (light blue). Each column represents a different status of the user. The...
Lanthanide asked 25/7, 2022 at 15:55

2

I'm trying to make fill-in-the-blank UI by using DragTarget and Draggable. I want to set offset between feedback and pointer during dragging to prevent the feedback from beeing hidden by a finger, ...
Stillman asked 18/3, 2020 at 9:54

9

Solved

This is my updated and modified script, it works completely, except I would like to universalize it... observe the **** how can I make it so that I don't have to do function(e){BOX.Draggable.elemen...
Aksel asked 17/2, 2012 at 19:21

2

I have a div like so, but when I drag on this div, the cursor automatically changes to the disabled one. How can I fix this? div { background-color: red; width: 10px; height: 10px; cursor: ...
Doornail asked 25/1, 2022 at 17:13

1

Solved

I need to add draggable divs, one for every image in an array of images, to a container. The below works BUT only on the second drag. i.e. I have to drag the component twice for it to move. It obvi...
Armipotent asked 13/7, 2022 at 1:56

1

Using some basic drag'n'drop features and i keep getting this message in Firefox, works well in Chrome though. NoModificationAllowedError: Modifications are not allowed for this document This hap...
Lipkin asked 2/10, 2019 at 12:12

© 2022 - 2024 — McMap. All rights reserved.