Hi,
In the demo vue-sortable-displayastable.htm, with my phone the sortable items are draggable, but from my laptop with touch screen it’s not.
How can I teach my Vue app to handle dragging with touch screen to act the same as with phone?
No events are firing from when I use my laptop touch screen from this example vue-sortable-events.htm
I assume I could use the approach you showed me, but I don’t know which events to use.
Array.from(
document.querySelectorAll(".inner-sortable")).forEach((item) => {
item.addEventListener(" ??start?? ", (e) =>
e.currentTarget.dispatchEvent(new Event(" ??dragstart?? "))
);
item.addEventListener(" ??s?top? ", (e) =>
e.currentTarget.dispatchEvent(new Event(" ??dragend?? "))
);
});
Any help is appreciated.