-
Notifications
You must be signed in to change notification settings - Fork 6
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
Click events are fired when only registered for Pan #35
Comments
The |
I am also facing this issue. I followed the Horizontal Slide Example combined with the Pan & Scroll, targeting |
You could try to attach If I understand you correctly, you are facing the following issue:
|
Thanks for the quick answer ! In fact my const targetElement = document.body;
const panRecognizer = new Pan(targetElement,
{
supportedDirections : Directions.Horizontal
});
const pointerListener = new PointerListener(targetElement, {
supportedGestures: [panRecognizer],
});
It allows me to handle I'll see if I can find a workaround by using two elements, one for the |
I slightly modified my code to aim on other sub elements rather than Is that expected ? |
When I register for Pan gestures, I also get click events from event PointerEvent. Seems that Tap events are fired, which I did not register in the options. Why is that, how can I disable it?
The text was updated successfully, but these errors were encountered: