You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all: this is a brilliant library- I've been looking for a drag and drop lib like this for a while.
But: I've got a long scrollable list of scrollable images that I want to drag and drop onto a page. When on a desktop: mousewheel, arrows, page up/down works fine. On a touchscreen, however the expected swipe to scroll doesn't happen- probably because of this:
// On mobile, touch can become extremely janky without it node.style.touchAction = 'none';
Is there a way around this? Is there a way to add a delay to the action so that a swipe won't trigger the dragging, but holding for a half second will?
Cheers!
The text was updated successfully, but these errors were encountered:
We have a maybe similar usecase. We're horisontally dragging containers. Works fine. But we cant scroll up/down
Have you any ideas?
In a "manual vanilla example" we register mouse position on mousedown, evaluate if mouse move horisontally is more than a treshhold and only then prevents scrolling
Raiondesu
added a commit
to Raiondesu/neodrag
that referenced
this issue
Sep 20, 2023
First of all: this is a brilliant library- I've been looking for a drag and drop lib like this for a while.
But: I've got a long scrollable list of scrollable images that I want to drag and drop onto a page. When on a desktop: mousewheel, arrows, page up/down works fine. On a touchscreen, however the expected swipe to scroll doesn't happen- probably because of this:
// On mobile, touch can become extremely janky without it node.style.touchAction = 'none';
Is there a way around this? Is there a way to add a delay to the action so that a swipe won't trigger the dragging, but holding for a half second will?
Cheers!
The text was updated successfully, but these errors were encountered: