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 initiated on component with pan recognizers doesn't work #32

Closed
kbullaughey opened this issue Jan 4, 2016 · 6 comments
Closed

Comments

@kbullaughey
Copy link
Collaborator

When I enable the pan recognizer on a component, an attempt to scroll the page where the touch gesture starts on the component doesn't result in the page scrolling. I need to begin the touch somewhere else to scroll. When I remove pan from the list of recognizers, scrolling works as expected.

The README has a comment about how pan is horizontal-only so it doesn't break scrolling, is this related? I would have thought scrolling should work.

@runspired
Copy link
Collaborator

It ought to work with pan, yes. Check that you have Hammer 2.0.6, if you do, we have a config issue we need to fix.

@runspired
Copy link
Collaborator

(or, we accidentally introduced a bug in Hammer, either way, need to fix)

@kbullaughey
Copy link
Collaborator Author

Yes, I do have Hammer 2.0.6. And I'm not customizing the pan recognizer in any way, just enabling it via:

recognizers: 'tap pan',

As part of a component declaration. If I switch it to:

recognizers: 'tap',

Then scrolling works.

@jrdn91
Copy link

jrdn91 commented Jan 21, 2016

I'm now having this problem too, exact same setup (minus tap)

@martinciu
Copy link
Contributor

I have the same issue with swipe gesture. I want to use swipeRight and swipeUp/Down should to the scrolling.

runspired added a commit that referenced this issue Feb 1, 2016
Closes #32 - Pan gestures is only horizontal
@maxymczech
Copy link

maxymczech commented Jun 26, 2019

I have same issue with pinch recognizer... I was able to solve it with CSS, as suggested in #104

touch-action: pan-y;

But I have no idea if this will introduce some other errors.

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

5 participants