Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sortable on touch devices not working as expected depending on page scroll position #3611

Closed
djwebdev opened this issue Oct 15, 2018 · 0 comments

Comments

@djwebdev
Copy link

UIkit version

3.0.0

The version that comes in YooTheme Pro v1.15.6

Browser

Our client first noticed the issue using their Surface Pro's with Windows 10 on Chrome and Firefox

I am able to reproduce the issue on macOS Chrome with Dev Tools. Enable device toolbar with portrait iPad selected.

Reproduction Link

This issue can be reproduced with the first demo on the documentation page: https://getuikit.com/docs/sortable

Steps to reproduce

If page is scrolled all the way to the top, sortable works as expected.

To reproduce issue, scroll down until the blue UIkit header is out of view. Now when dragging a sortable item you will notice that there is an offset. Holding an item over the first row will try to place the item in the second row. If you move the item over the second row, none of the items in that row react and the item does not drop.

If you scroll down the page more, the offset increases.

Is anyone else able to reproduce this issue? I feel like I'm going a bit mad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant