perfect-scrollbar icon indicating copy to clipboard operation
perfect-scrollbar copied to clipboard

Drag and drop inside scroll container

Open altschuler opened this issue 8 years ago • 3 comments
trafficstars

Currently drag and drop events are blocked by perfect scrollbar on touch devices because it captures the touch events and doesn't propagate them (I believe).

This is related to mdbootstrap/Tailwind-Elements#538 but I don't think it's exactly the same issue.

Thank you for an awesome library! :)

altschuler avatar Sep 20 '17 12:09 altschuler

I think your point is valid, perfect-scrollbar captures touchmove event. But what do you mean with drag and drop, some kind of drag-and-drop plugins or native drag-and-drop events?

hatashiro avatar Oct 06 '17 06:10 hatashiro

In this case it's HTML5 drag and drop events, it might not be an issue for custom type of drag and drop systems where you manage the entire flow without using the native drag events.

altschuler avatar Oct 06 '17 07:10 altschuler

ref: https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API

Thanks. I'll look into this, it may take some time though.

hatashiro avatar Oct 06 '17 07:10 hatashiro