mdbootstrap / perfect-scrollbar

Minimalistic but perfect custom scrollbar plugin. Get more free components with Material Design for Bootstrap UI Kit (link below)
https://perfectscrollbar.com/
MIT License
353 stars 69 forks source link

Drag and drop inside scroll container #129

Open altschuler opened 7 years ago

altschuler commented 7 years ago

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! :)

hatashiro commented 7 years ago

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?

altschuler commented 7 years ago

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.

hatashiro commented 7 years ago

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.