Questions tagged [drag]

In computer graphical user interfaces, drag is the first phase of a drag-and-drop operation. This involves selecting a virtual object by "grabbing" it and dragging it with the mouse down to a different location or onto another virtual object. An instance of some object relating to what was grabbed is usually brought with the drag operation.

In computer graphical user interfaces, drag is the first phase of a drag-and-drop operation. This involves selecting a virtual object by "grabbing" it and dragging it with the mouse down to a different location or onto another virtual object. An instance of some object relating to what was grabbed is usually brought with the drag operation.

2133 questions
0
votes
1 answer

Websocket: Many users drag one item at the same time

I'm using jquery drag, drop with websocket. When user drag drop item, it will automatically update on other user screens. Like this video: https://youtu.be/JHndS1ps_f0 I want when user dragging member, other user cannot drag that member. This is my…
Nam Lee
  • 891
  • 1
  • 9
  • 20
0
votes
1 answer

Jquery ShapeShift: Get element selected during drag before drop?

I'm using lib jquery shapeshift to drag&drop. I'm using websocket to realtime. When user dragging member, other user cannot drag that member. So I want get element selected during drag before drop. I read document but could not find…
Nam Lee
  • 891
  • 1
  • 9
  • 20
0
votes
1 answer

KonvaJS Graph Editor Move Nodes

I am developing a Graph Editor with Nodes and Branches. With Pan/Zoom. I am starting with the (1) Pan/Zoom (done), (2) Add Nodes (done), (3) Select Nodes (done), (4) Move Nodes (disable the Pan). I am stuck here. I made the stage draggable for the…
Hichem CHTARA
  • 25
  • 1
  • 7
0
votes
0 answers

Unable to scroll page with OpenLayers map on mobile device

I have a page with OpenLayers map in my Cordova mobile application. It looks like OpenLayers catch the drag event, so it's not possible to scroll the page when user touches the map ( it works only when drag event starts outside the map ). I have…
user3523426
  • 836
  • 3
  • 11
  • 26
0
votes
1 answer

Drag and drop filtering philosophy

I have some entries in uitableview which are droppable and some which are not. The question is for consistent user experience should I disallow dragging them altogether or should I just filter them out during the drop? The issue is that…
Anton Tropashko
  • 5,486
  • 5
  • 41
  • 66
0
votes
1 answer

Swap element during drag - jquery ui

I want swap element during drag. Example, When I'm dragging the red box into the container with the blue box, the blue box in that container will turn into a red box, and the red box i'm dragging will turn into a blue box. Then I will continue to…
Nam Lee
  • 891
  • 1
  • 9
  • 20
0
votes
1 answer

IllegalArgumentException: argument type mismatch when trying to drag a popupwindow

When I try to drag a popupwindow an exception appears: java.lang.IllegalArgumentException: argument type mismatch I designed the popwindow in SceneBuilder and added two methods for the anchorpane: setOnMousePressed -> returns the position of the…
Marcus
  • 11
  • 2
0
votes
1 answer

Restrict user to drag view out of the layout in android drag drop

I have one OnDragListener I drop views on this listener by Onlongclick views but the problem am trying to solve is I want to restrict the view to be placed out of the layout view, it can't be placed even a little outside in the layout for different…
0
votes
0 answers

How to drag and drop edit text, radio buttons, view groups(along with child) and layouts in android programmatically?

I have implemented drag and drop on Imageviews, Buttons and Textviews by OnLongClicklistener() and Ondraglistener() but the problem is I am unable to drag and drop edit text, radio buttons, linear/relative layouts and view groups(along with…
0
votes
1 answer

Javafx Issue in dragging selected text from TextArea

I have strange problem while dragging selected text from TextArea. The text is properly selected but when iam dragging to be place on the target position, the selection of text is changed, it reduce the selection for 2-3 characters randomly. Here…
Itian
  • 123
  • 8
0
votes
1 answer

How to implement drag and drop between components

I want to implement drag feature for a div. The div lies in an overlay panel(like alert messages) and I need to drag those to the rest of the screen. (like, I need to drag an alert message div.)
0
votes
1 answer

how to keep yellow Rectangle in my demo code can't be moved?

This demo is from official demo of drag and drop. I have changed a little. Now when other rectangle enterd the mousearea including the yellow rectangle, the yellow rectangle won't move. And yellow rectangle itself can't be draged too. but when I…
python Xu
  • 5
  • 4
0
votes
0 answers

elements in aframe are outside the aframe circle and become invisible depending on z coordinate

I am new to A-Frame, I want to allow a user to change the position of an element in the A-Frame environment so on click of the element on "dragend" I am calculating the new x y and z using the old ones plus the offset it works good, however when z…
fatima
  • 35
  • 4
0
votes
2 answers

How to check for gameObject while Grid Snaping in Unity2D

I am trying to make a game which allows moving objects by snapping them on the grid, I already figured out to snape them to grid but there is one thing little problem, I want to check if there is already a game object placed on that same grid so…
The Wolf
  • 55
  • 1
  • 2
  • 6
0
votes
1 answer

Jquery Drag Drop Item Count and Ajax Post Update

JQuery UI using drag drop. When I drag and drop items, I want the value "Act and DISPLAY cards (0)" to change to 0. I also need Ajax code to update the data when the persistence is finished. https://jsfiddle.net/qxwLa98z/
Alex Deniz
  • 68
  • 6