Вопрос

I'm using jQuery UI drag and drop widget. But there's one problem - we have a lot of draggable blocks on the page. So browsers in mobile devices (with touch screens) starts drag some elements when user tries scrolling the page.

How this conflict could be resolved?

Это было полезно?

Решение

I can think of 3 solutions...

Drag & drop when touching the blocks and scroll when touching elsewhere;

Add a scroll bar; or

Scroll depending on the device inclination based on sensor data.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top