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

Interact working on 'mouse' action on larger screens, not on 'touch' action with mobile devices #1043

Open
BloodSeaker opened this issue May 31, 2024 · 0 comments

Comments

@BloodSeaker
Copy link

BloodSeaker commented May 31, 2024

Expected behavior

When on a mobile device, I drag an element, it should be draggable over the screen up to droppable elements.

Actual behavior

For some reason on mobile devices using 'touch', the draggable seems like it is 'locked' in its own tiny area. Just moving a tiny bit but not able to move to the desired position.
testable on https://www.purplefame.be/Game/LineUp, required to login with a social network

System configuration

interact.js version: https://unpkg.com/interactjs/dist/interact.min.js and also tested with jsdeliver
Browser name and version: Tested in latest chrome browser ( 125.0.6422.113) with 'mobile mode' via developer tab , tested via latest Edge browser (124.0.2478.51) with 'mobile mode' via developer tab. Tested on latest android version with built-in browser and chrome latest app version.
In 'desktop' browser it works correctly with the mouse, but not with touch, unrelating to screen width or height
Operating System: Windows 11 and Android 14 latest

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