uikit / uikit

A lightweight and modular front-end framework for developing fast and powerful web interfaces

Home Page:http://getuikit.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sortable component conflict with page scrolling (default behaviour) on laptops with touchscreen

tempral opened this issue · comments

UIkit Version

All verions are affected

Actual Behavior

With a touch capable monitor, sorting it's a pain because the page move at the same time of trying to drag an element

Expected Behavior

scroll the page only when dragging the element near the window edges

Reproduction Link

https://getuikit.com/docs/sortable

Possible solution

times ago I submitted a similar issue for the framework7.io , and recently a fix was merged that consist of simply adding the touch-action: none; css property to the sortable handler

thanks for the quick fix, however, in the group lists case, sorting is still buggy...