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

Add swipe/slide/zoom functionality #36

Open
rejas opened this issue Jul 21, 2016 · 5 comments
Open

Add swipe/slide/zoom functionality #36

rejas opened this issue Jul 21, 2016 · 5 comments

Comments

@rejas
Copy link
Contributor

rejas commented Jul 21, 2016

From "paxperscientiam": On the UX side of things, the ability to slide over to the next image via trackpad or mobile screen, would be great. To this end, I think we want a sliding motion to be equivalent to pressing left/right buttons, correct?"

Correct :-)

@rejas rejas added this to the 0.5.0 milestone Jul 21, 2016
@paxperscientiam
Copy link
Collaborator

@rejas Just for the record, there is no interest in adding dependencies, correct?

@rejas
Copy link
Contributor Author

rejas commented Oct 27, 2016

No, only if it was very very small. For exmaple issue #47 would be really easy to fix if I would use hammer.js but then the size of the library doubles....

@paxperscientiam
Copy link
Collaborator

@rejas just to update, mobile finger sliding works just fine. It's only trackpad that does not.

@rejas
Copy link
Contributor Author

rejas commented Dec 13, 2016

Trackpads? Well, for those that want to add support for that, they could use their own library for detecting that an call a function for next / prev on our library. what do you think?

@rejas rejas removed this from the 1.0.0 milestone Dec 6, 2018
@rejas rejas changed the title Add swipe/slide functionality Add swipe/slide/zoom functionality Mar 22, 2019
@rejas rejas added this to the 2.0.0 milestone Mar 22, 2019
@denalena
Copy link

@rejas just to update, mobile finger sliding works just fine. It's only trackpad that does not.

For me zooming doesn't work on Pixel XL with Android 9 and Chrome 86.0.4240.198

Do you have to configure it the right way to work? Or did you mean sliding next/prev and not zooming?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants