-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[0.9] Touch scroll gesture, setScrollDirection doesn't work any longer #1520
Comments
It seems to work for me when I switch pan-x and pan-y checks
|
Whoops, thanks for the insight. |
This still seems to be broken, at least in my use case. See the following jsbin: http://output.jsbin.com/nisoru. (you'll need to view it on a touch-capable display or using the chrome mobile emulator). The list items are set up to respond to horizontal swipes, however the list will not scroll vertically, even when |
Scratch that last comment. I figured out I had to add setScrollDirection before the touch event, as well as pass the 2nd parameter for the target. I've updated the jsbin in case anyone else ends up here :) |
After applying 617093c from @azakus touch track works, but it seems that now touch scroll doesn't work any longer. In the previous version node.setScrollDirection('y'); enabled vertical scroll, which seems to not work any longer.
Should setScrollDirection work as before or did anything change?
The text was updated successfully, but these errors were encountered: