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 blocked on Chrome #8
Comments
I have no idea what Zurb foundation's clearing gallery is. If you could
|
The problem was solved on Foundation Clearing by activating the swipe plugin only for touch screens (foundation/foundation-sites#1145) |
It is perfectly normal that move cancels scroll, as it is assumed that you don't want to both move something and scroll something at the same time. If you want to cancel a move, and thus have scroll work normally, then you can call e.preventDefault() in the movestart handler. If you want to enable scrolling in the vertical direction, but swiping in the horizontal, then you need to call e.preventDefault() conditionally, depending on which direction the user has started moving in movestart. |
Dammit, I just compiled a perfect test case before bothering to look if anyone has asked this :( Anyway, thanks for suggesting a workaround, but I have to disagree with you on that. The preventDefault() method is supposed to suppress the browser's default reaction to the event, not to 'unsupress' it. Otherwise, this library is a lifesaver if you just want to implement a handful of simple touch events (I tried quo, but it had cross-browser issues, and hammer, but it was kind of slow). Thanks a lot for your hard work :) |
Yes, preventDefault() is supposed to suppress the browser's default If you look inside the move event, you'll see it's using jQuery's Thanks for the kind comments, it's great to hear it measures up to the On 28 October 2013 17:01, Septagram notifications@github.com wrote:
|
Are you kidding? In many ways it's waaay better than the competition. 👍 |
I'm trying to use jquery.event.move.js v1.3.1 with Zurb Foundation's Clearing gallery, but when the plugin is in place, the scroll bar is inoperable in Chrome...
The text was updated successfully, but these errors were encountered: