leanprover / leanprover/reference-manual

Disable scrolling and interation with main page when ToC is open on mobile

Open
#155 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ASAP HTML/CSS
Dominant language
Lean
Stars
129
Forks
67
Avg merge
1d 15h
Merged PRs (30d)
16

Description

It would be great if opening the ToC menu on narrow screens would cause the rest of the page to get grayed out and disabled, to prevent accidental scrolling or clicks.

@jakobvase, what's the canonical way to do this?

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

No files, tests, or entry points are named. Start by locating the mobile ToC implementation and checking how the page handles scrolling, clicks, and overlays on narrow screens. Done means the page is grayed out, cannot be scrolled or clicked while the ToC is open, and behaves normally after it closes.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
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.