alphagov / alphagov/tech-docs-template

Navigation menu jumps to the bottom when opening a new page

Open
#237 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
84
Forks
36
Avg merge
10h 56m
Merged PRs (30d)
2

Description

What should change

In the GOV.UK Pay documentation, navigating to a page in the left-hand navigation pane causes that pane to scroll to the bottom.

20230621_121130

The navigation bar should not scroll like this when move when navigating between pages. It should just show the expanded version of the page you've navigated to, as in the final few frames of the GIF.

User need

This current behaviour is disorienting when you're navigating through the docs.

Contributor guide

No contributing guide indexed for this repository

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

Reproduce the navigation behavior in the GOV.UK Pay documentation and compare it with the expected expanded state shown in the issue’s GIF. No files or tests are named, so locate the template’s navigation implementation first; done means opening a page no longer sends the left navigation pane to the bottom.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation, 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.