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

multi finger pan #41

Open
sebakerckhof opened this issue Aug 30, 2018 · 3 comments
Open

multi finger pan #41

sebakerckhof opened this issue Aug 30, 2018 · 3 comments

Comments

@sebakerckhof
Copy link

sebakerckhof commented Aug 30, 2018

Currently the library either pans if there's a single-finger touch, or zooms when there's a 2 finger touch.

Looking at how most native pan/zoom applications (e.g. google maps) work, then you can see that usually these actions are not mutually exclusive. E.g. you can pan while zooming, where you'd pan the average vector of both fingers. This not only feels more natural, but together with #40 it would also open new use cases of for example having drag drop inside a panzoom region (drag drop handled by single-finger touches and panzoom by two-finger touches).

I could make a PR for this if you'd agree with this.

@CharlieSavve
Copy link

CharlieSavve commented Sep 10, 2019

Has 2 finger pan been implemented yet? that would be such an awesome thing to have, since one finger pan really intervenes with normal scrolling!

@sebakerckhof
Copy link
Author

@CharlieSavve look at the list of PRs. I added one whoch implements two finger pan

@CharlieSavve
Copy link

@CharlieSavve look at the list of PRs. I added one whoch implements two finger pan

Saw it, thank you for your great work! But it hasn't been merged yet right?

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

2 participants