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

Scrolling after dragging item on mobile #18

Closed
ricardosimoes opened this issue Jun 23, 2016 · 4 comments
Closed

Scrolling after dragging item on mobile #18

ricardosimoes opened this issue Jun 23, 2016 · 4 comments

Comments

@ricardosimoes
Copy link

Hi, on mobile when I drag one element to another place and then i try to scroll the page it doesn't scroll. From the tests I made it also happens on the demo page. Do you have any idea why this happens?

@sunpietro
Copy link
Owner

@ricardosimoes can you tell me which mobile devices and which mobile browser were used?

@ricardosimoes
Copy link
Author

I think that it's not specific to a mobile device or browser. But I tested in a Samsung Galaxy S4 (android browser), iPhone 5s (chrome) and after this failed I also tested on Chrome browser in a desktop using the "Device tool" in the "Inspect" of DevTools (tested iPhone 4). In the desktop the scroll wheel still functioned but the drag didn't.

@sunpietro
Copy link
Owner

@ricardosimoes thanks for reporting. I'll try to investigate it soon.

@sunpietro
Copy link
Owner

@ricardosimoes sorry for not responding for long time. I've added a scroll functionality to Dragster.js in the latest version. I've introduced a new property to Dragster.js object - scrollWindowOnDrag that takes boolean values. By default it's set to false.

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

No branches or pull requests

2 participants