question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dragstop event not triggered in touch mode?

See original GitHub issue

I’m having trouble understanding how dragstop works.

In this example dragstop is being triggered immediately when the dragging stops (when the mouse button is released).

But when I use the mobile emulator in Chrome, so I can try out touch-events, the dragstop event only fires when I touch the screen outside the item, or when I touch the item again.

Is there a way to make this work in touch-mode too ?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
TitanFightercommented, Dec 3, 2018

@KoeketieneDesign It seems this component is abandoned. You can try to use original component vue-draggable-resizable (especially v2 from dev branch, because v1 does not support reactive props).

1reaction
tpraxlcommented, Oct 17, 2018

It was an implementation problem. Added a PR that fixes the bug.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mouseup event not triggering when no drag is happening
I tried everything I could do to prevent dragging, by putting draggable="false" on every element, by calling e.preventDefault() in my mousedown ...
Read more >
Drag and drop does not work with touch event - Syncfusion
What I have observed is, its not triggering any of event dragStart, dragStop, onActionBegin. But specifically allows resize of appointments ...
Read more >
JIM 7.0.0 "On Drag Stop" Event doesn't work on touch screens ...
If you're using a touch enabled display and your default browser is Chrome the "On Drag Stop" event doesn't work when you're using...
Read more >
ondrop Event - W3Schools
The ondrop event occurs when a draggable element or text selection is dropped on a valid drop target. Drag and drop is a...
Read more >
HTML5 Canvas Drag and Drop Events | Konva - Konva
bind dragstart , dragmove , or dragend events to a node. The on() method requires an event type and a function to be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found