Questions tagged [draggable]
An element capable of being dragged.
draggable
3,693
questions
1
vote
1
answer
23
views
Angular Drag & Drop with nested section and subsection
I am trying to implement a drag-and-drop feature in my Angular 14 Application where I have nested sections and subsections. I want to move each section up or down and subsections will be moved between ...
0
votes
0
answers
28
views
Implement drag and drop functionality in recursive components
I'm trying to implement drag and drop functionality between two JSONs to map the keys of one JSON to another. I created the JsonViewerComponent that accepts JSON data as input and displays it using ...
0
votes
1
answer
11
views
Kivy - How can I modify example for using ScrollView + GridLayout (Kivy-Garden Draggable)?
This Kivy - Draggable example works great:
from kivy.properties import ObjectProperty
from kivy.app import App
from kivy.lang import Builder
from kivy.uix.label import Label
from kivy.uix.floatlayout ...
0
votes
0
answers
20
views
How to click an item to select it for dragging?
When using React Draggable, normally you click and hold down the button to select and drag an item with the mouse. Is there a way to just click an item and release the mouse button, and that item ...
0
votes
0
answers
40
views
React Draggable: Click and release to drag?
When using React Draggable, normally you click and hold down the button to select and drag an item with the mouse. Is there a way to just click an item and release the mouse button, and that item ...
0
votes
0
answers
15
views
Combine two Draggable images together and change to another image for every iteration
I want to create this screen where when users drag one image (apparatus) onto another image.
If the combination is true (according to the procedure), it will change into another image.
Example: ...
1
vote
2
answers
75
views
Is it possible to add an eventListener to a custom title bar used for dragging the window in a frameless window?
Added a custom title bar to a frameless window in order to make the window draggable. The title bar shows, but eventListener won't fire:
main.js:
const createWindow = () => {
const win = new ...
0
votes
0
answers
36
views
Draggable items break styles on dragging
I'm creating a sequence quiz and chose @hello-pangea/dnd package (which is rewritten react-beautiful-dnd and I succeeded to create a simple component but I faced a problem that when I grab draggable ...
-1
votes
0
answers
24
views
Draggable ScroolSheet Height issue
In my app i want to set DraggableScrollSheet in google map view but i want to set sheet size as per content size but it not work. when i open a scrollsheet it show white space. and the view is not ...
0
votes
0
answers
30
views
Adding style property to individual class elements on click, IF their data is modified
I'm trying to make a browser dress up game with separate tabs for draggable items (so tops, bottoms, etc). This is the JavaScript code for how the tabs function.
function openTab(event, Category) {
...
0
votes
0
answers
35
views
GSAP Draggable Card Deck Effect works on down drag but not up drag
I'm trying to create a similar effect as seen here: https://www.cieffemilano.it/en/
My attempt is below. I'm having a lot of trouble getting the swipe up to work. My approach was to take the first ...
0
votes
1
answer
29
views
Dragging with onMove is not working when LongPressGesture is on view
I want to achieve behavior similar to the Apple Podcast app on the queue screen in iOS. Specifically, I need to:
Display a context menu after a long press on every row, except for the view with the ...
0
votes
0
answers
27
views
drag and drop doesn't work as expected - react.js
When I tap a todo item on a touch screen (which works fine on a PC browser), it correctly marks the item as complete and moves it down in the list, which is the expected behavior and works great. ...
0
votes
0
answers
27
views
React beautifull Dnd Droppable on top of Droppable not working
I have a app that contains columns of droppables and a droppable modal that appears when a draggable is beeing dragged, but the "hitbox" of the modal's droppable space seems to be very ...
1
vote
1
answer
49
views
draggable div but only moved by header? javascript only
i've got my draggable element etc but i want to make it only moveable by the header so you can still highlight/click on things within the div. i can only use javascript :)
i got this piece of code ...