Skip to content
This repository has been archived by the owner on May 22, 2020. It is now read-only.

Swipe Gesture on Mobile - Need a distance threshold on lines 571 and 574 of ekko-lightbox.js #291

Open
3 tasks
evanave opened this issue Mar 6, 2018 · 1 comment

Comments

@evanave
Copy link

evanave commented Mar 6, 2018

So, you're experiencing a problem?

If you're not sure how to use the lightbox, or are experiencing a problem with it, please ask on StackOverflow - you will most definitely get a faster response time and it leaves this GitHub issues for actual bugs and not support questions.

If you really do think you have a bug, please:

  • Provide a link to your site or a full example
  • Provide screenshots where appropriate
  • Browser name and version
@evanave
Copy link
Author

evanave commented Mar 6, 2018

		_swipeGesure() {
			var swipeThreshold = 50;
		    if (this._touchendX < this._touchstartX - swipeThreshold) {
		        return this.navigateRight();
		    }
		    if (this._touchendX > this._touchstartX + swipeThreshold) {
		        return this.navigateLeft();
		    }
		}

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

No branches or pull requests

1 participant