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

Prev/Next keyboard shortcuts not working properly #910

Closed
brainplot opened this issue May 6, 2019 · 5 comments · Fixed by #915
Closed

Prev/Next keyboard shortcuts not working properly #910

brainplot opened this issue May 6, 2019 · 5 comments · Fixed by #915

Comments

@brainplot
Copy link

Hi, I'm currently reading the book The Rust Programming Language and I decided to build it from source checking out the latest version from the official repository.
I installed mdBook via cargo install mdbook - without specifying any version number - and I got mdBook v0.2.3; then I opened the book in my browser with:

mdbook build --open

and I immediately noticed that the left and right arrow keys weren't working as they're supposed to.
I find those shortcuts really convenient since I try to avoid taking my hands off the keyboard as much as possible.

Almost as a desperate attempt to get those shortcuts working, I tried to install mdbook directly from this repository with the following command:

cargo install --git https://github.com/rust-lang-nursery/mdBook.git mdbook

with no luck. It produced a better looking book but those keyboard shortcuts were still not working :)

P.S. I should mention that in the online version of the book, those same keyboard shortcuts allow me switch between pages properly so I don't think it's a problem with my environment or browser.
The shortcuts also work properly for the book that opens up when I run:

rustup doc --book
@brainplot brainplot changed the title Prev/Next keyboard shortcut not working properly Prev/Next keyboard shortcuts not working properly May 6, 2019
@carols10cents
Copy link
Member

Hi! This sounds like an issue with mdbook, could you refile this issue in the https://github.com/rust-lang-nursery/mdBook repo please? Thanks!

@brainplot
Copy link
Author

could you refile this issue in the https://github.com/rust-lang-nursery/mdBook repo please?

@carols10cents I'm confused. Isn't this the exact same repository you linked?

@carols10cents
Copy link
Member

LOL oops!!!! I was on mobile, and because you talked about the book so much, I thought your issue was filed against https://github.com/rust-lang/book, which I also get emails for. You are absolutely correct, I'm sorry for incorrectly closing this!

@carols10cents carols10cents reopened this May 6, 2019
@brainplot
Copy link
Author

Don't worry, it happens! :)
I talked about the book to give a bit of context on what I tried and what wasn't working.

@carols10cents
Copy link
Member

Yes, thank you for that, it is very helpful :) My brain just wasn't working ;)

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

Successfully merging a pull request may close this issue.

2 participants