rust-lang / rust-lang/mdBook

scrolling left pane upward is stuck on mobile once reach the bottom

Open
#2,450 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-bug
Dominant language
Rust
Stars
22.2k
Forks
1.9k
PR merge metrics
PR metrics pending

Description

Problem

After scrolling to the very bottom of the left pane (or outlines/toc dono how to word this correctly), there is now way to scroll upward. Any attempt would trigger a website refresh.

Other tools such as honkit or mkdocs do not have this behavior, reason I raise a bug issue here.

Steps
  1. Open any mdbook with your mobile
  2. Show the left pane an scroll to the very bottol
  3. Now change your mind an try to scroll to the top
  4. That should refresh the page instead
Possible Solution(s)

No response

Notes
  • I am using firefox on mobile, no idea if other browser/people replicate this.
  • i get the problem in any mdbook out there. Tested about 20 various examples, including the mdbook doc itself
Version

N/A

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in mobile Firefox using any mdBook, following the listed steps and testing the left pane or outline/table of contents at its bottom edge. Done means the pane can be scrolled back to the top without triggering a page refresh; compare behavior across mobile browsers if needed.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.