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

pinchStart event does not trigger #8

Open
DerZade opened this issue Oct 11, 2023 · 0 comments
Open

pinchStart event does not trigger #8

DerZade opened this issue Oct 11, 2023 · 0 comments

Comments

@DerZade
Copy link

DerZade commented Oct 11, 2023

So I updated Gesto to the latest version a few days ago and only now noticed that pinching does not seem to work anymore.

I tried all Gesto versions between the latest version and the version I used previously and came to the conclusion that the issue was introduced with version 1.17.2 (1.17.1 works fine). The pinchStart event is just not emitted at all.

My setup looks like this.

// this is my actual setup:
// const gesto = new Gesto(myCanvas, { container: window, pinchOutside: true, pinchThreshold: Infinity, keepDragging: true });

// I could also reproduce with just the container option
const gesto = new Gesto(myCanvas, { container: window });

gesto.on('pinchStart', e => console.log('pinchStart')); // this does not trigger

gesto.on('dragStart', e => console.log('dragStart')); // this triggers

Unfortunately, I don't really have the time to create a minimal reproducible example atm. I will just use 1.17.1 for now. I thought I would report the problem anyway, as 1.17.2 didn't contain many changes, so you might have an idea what the problem is.

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

1 participant