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

Drag and Drop on Mobile Issue #41

Open
gracejiyoung opened this issue Jan 4, 2016 · 4 comments
Open

Drag and Drop on Mobile Issue #41

gracejiyoung opened this issue Jan 4, 2016 · 4 comments
Labels

Comments

@gracejiyoung
Copy link

It looks like the drag-and-drop is not working on mobile devices. If you touch one of the stories in the zones to change the rank, it will scroll all the way to the bottom making it impossible to move the stories up or around. This was reproduced on iPhone6/iPhone6+ in Safari/Chrome. However, this does work properly on iPad.

@mjangda
Copy link
Member

mjangda commented Jan 4, 2016

I think we need to patch in mobile support for jQuery UI or switch to a different drag-and-drop library.

@bcampeau
Copy link
Contributor

bcampeau commented Jan 4, 2016

@gracejiyoung what version of WordPress was this on? I'm assuming 4.4? I feel like this was working before so it could be caused by the latest version as some styles definitely broke (which I fixed) when I upgraded.

@sboisvert
Copy link
Contributor

@brettshumaker Can you take a look?

@brettshumaker
Copy link
Contributor

brettshumaker commented May 1, 2018

@sboisvert I believe I've fixed this here: bfe91df

Found a closed issue on the touch punch github (furf/jquery-ui-touch-punch#288) that referenced a similar issue. It adds a helper function to the sortable init and correctly positions the cloned sortable element.

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

No branches or pull requests

5 participants