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

Allow plugin user to set the length of the slide gesture #2

Open
fegemo opened this issue Mar 11, 2015 · 1 comment
Open

Allow plugin user to set the length of the slide gesture #2

fegemo opened this issue Mar 11, 2015 · 1 comment

Comments

@fegemo
Copy link

fegemo commented Mar 11, 2015

Hi Mark,

The experience of swiping to change slides is not very good for lower-resolution devices - we need to do a long swipe (covering a good portion of the screen) for the swipe to be recognized. Currently, the swipe length is hardcoded to 50px.

I quickly looked for a "recommended swipe length" on the web, in hopes of finding some UX heuristic saying something like "a swipe gesture length should be X% of the screen", but I couldn't find it.

In some quick tests, I found the value of 7% of the screen width (in portrait) to be satisfactory.

Considering that, what do you think of making the length of the gesture a configurable option?

Best regards!

@markdalgleish
Copy link
Member

Yep, this is a great idea. I'll try to get to this soon :)

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