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
Disable scrolling #101
Comments
Rather than disabling scrolling by default, I would suggest making it configurable, i.e.: var slideshow = remark.create({
navigation: {
scroll: false
}
}); The What do you think about such a solution? |
That's fine, but I would make false the default. Unless I'm missing an important use case. |
Well, the use case is navigating like you would in most other slideshow tools, which usually supports both keys, scroll and more. I'll add support for the option, so you can disable scrolling in your slideshows, but I'll leave scrolling enabled for now. Maybe I'll make it disabled by default at a later point. |
I just released a version 0.6.3 that includes support for the |
The configuration options wiki page has been updated accordingly. |
I'm all for using arrow keys, and I get that touch is important. But scrolling navigation isn't even workable anyway (it's very difficult top scroll just one slide). That could just mean it needs tweaking, though. Maybe something akin to what chrome or safari do when you scroll left or right to history navigate should work to move forward or backward slides. |
On my laptop's touchpad I have no problem scrolling a single slide at a time, so it may vary from one touchpad to another. But I agree it could perhaps be tuned to work even better, or perhaps even disabled at some point. At least it is now possible to disable scrolling completely. |
For me going just one slide requires the smallest possible increment of scrolling. Additionally, Mac OS X's momentum scrolling makes just a regular swipe fly through dozens of slides. |
By the way, how hard would it be to have a "latest" redirect so that I don't have to update the script in my slides every time you do a release? |
I've now added http://remarkjs.com/downloads/remark-latest.min.js that I'll keep up to date. |
Thanks. |
I agree with @asmeurer that the default behaviour is incredibly annoying on a MacBook. As he says, it is all too easy to accidentally fly through dozens of slides, and I am dreading this happening during an actual presentation. I'm glad scrolling to flip pages can be disabled and tend to agree that it should be disabled by default if it is this poorly behaved. Remark is great by the way! |
Would it possible to disable scrolling, at least by default? If I accidentally move two fingers across my touchpad it will move me away several slides.
The text was updated successfully, but these errors were encountered: