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
0 answers

Dragging an Image in a canvas - javascript

I have a canvas that currently draws an image and is draggable. The only problem is that the image moves when you drag anywhere on the canvas and not specifically when you drag the image. Looking to make it so that the image only drags when you drag…
user401708
  • 23
  • 1
  • 6
0
votes
1 answer

FullCalendar - Month view : Different behavior for selecting date ranges (no click and drag)

I wonder if there's an alternative way to select a range of dates in month view, without click + drag? My idea would be: 1st. click: Sets start date. On mousemove, date ranges highlight (up to the date the mouse pointer is over). 2nd. click: Sets…
zedee
  • 419
  • 1
  • 4
  • 15
0
votes
1 answer

Dragging view to Left or Right only.

I have a ImageView which needs to be dragged to LEFT or RIGHT only. I need to acheive the behaviour which is like ScrollerThumb. Then, according to the drag value (x value changes) I need to perform certain operations. I had a look to drag & drop…
Azizjon Kholmatov
  • 1,136
  • 1
  • 13
  • 26
0
votes
1 answer

android motion events not triggered with drag listener

Problem So I have a recycler view populated by card views all with drag listeners attached, the motion events work fine until I set a view to be dragged, so with the line commented out this works, all logs are printed…
martinseal1987
  • 1,862
  • 8
  • 44
  • 77
0
votes
1 answer

calabash-android can not drag or swipe a slider button

i can swipe the Floating layer -> green area using perform_action('drag_coordinates',0,1030,800,1030) or %x{#{default_device.adb_command} shell input swipe 0 1030 800 1030} but can not drag or swipe the slider using…
user3134762
  • 183
  • 1
  • 1
  • 6
0
votes
1 answer

Vue.Draggable Drag and drop to same array

I am trying to drag same array to array Please check my code and let me where i am doing wrong. Worked almost for 10 hours but didn't figure-out any solution. Appreciate for your help.
Rajan
  • 13
  • 7
0
votes
1 answer

Moving a View with ACTION_MOVE in Scaled Layout

Hello! Thank you for reading. Based upon this answer, I integrated View dragging like so: float dX, dY; @Override public boolean onTouch(View view, MotionEvent event) { switch (event.getAction()) { case MotionEvent.ACTION_DOWN: …
Guy
  • 51
  • 5
0
votes
1 answer

Konva - conditionally change rectangle color while dragging

I am developing something similar to a Gantt-Chart using a Konva wrapper for Vue.js. I basically have a group which contains a rectangle (and some other elements which are irrelevant in this case). The group is draggable and I would like to change…
zunnzunn
  • 366
  • 1
  • 5
  • 12
0
votes
1 answer

ActionScript - Serious Performance Problem Using TweenLite & Mouse Move Event

i'm receiving a very noticeable performance hit when using TweenLite to tween a filter while dragging. private function mouseMoveEventHandler(evt:MouseEvent):void { evt.stopImmediatePropagation(); startDrag(); zoomTween = new…
Chunky Chunk
  • 16,553
  • 15
  • 84
  • 162
0
votes
1 answer

Drag image from scrollview to view without compromising its location

How can I make sure that the images that are within my scroller will be able to be dragged from the scroller to the imageview? I also would like to implement a 'wiggle'. When a user taps an image within the scroller the images wiggles and follows…
BarryK88
  • 1,806
  • 2
  • 25
  • 41
0
votes
2 answers

jQuery drag left/right

I've just created a custom carousel with images and have got previous/next arrows to move the images around. Does jQuery have an event where I can click on the photo, drag it to the left or right and fire the same action that I currently have on the…
Marko
  • 71,361
  • 28
  • 124
  • 158
0
votes
1 answer

Flex Dragging image horizontally with Collision

How can I constrain an image in a container to only a horizontal drag that when it collides with another image 'pushes' that image along that same horizontal line. -------o------o--
Alkoty
  • 7
  • 1
0
votes
0 answers

Draggable Text behind Responsive Object - WordPress

i wanna make something likes this but i'm using WordPress currently, i tried to make the orange object using image, but it makes the text behind it can't be dragged so some script won't work (being covered by the image). so is there any…
0
votes
0 answers

Firefox ghost image flies in

When using HTML 5 drag and drop, i have noticed that on firefox, the ghost image tends to fly in from far away to the right. I have not been able to reproduce using a small scale example, so i assume it has something to do with the CSS involved.…
jekelija
  • 257
  • 4
  • 16
0
votes
1 answer

Drag and Drop with ListView WPF failed using ItemSource

I have ListView with ItemSource: public ObservableCollection List; And my ListView is full with several object. Now i want to add the option to change my ListViewItems via darg so i found this solution:…
falukky
  • 1,099
  • 2
  • 14
  • 34