patternfly / patternfly/patternfly-org

Bug - Table of Contents - doesn't scroll to the end of ToC for long lists

Open
#4,714 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

PF Team
Dominant language
JavaScript
Stars
74
Forks
147
Avg merge
4d 11h
Merged PRs (30d)
2

Description

See Table's Table of Contents on desktop view (right-aligned menu), it will scroll to InnerScrollContainer jumplink, but there are several more below that. It won't show the remaining content items until the full page is scrolled.

It seems to be because the Table of Contents doesn't account for the top page header which collapses when the full page scrolls. It may be due to a max-height imposed on the Table of Contents.


Jira Issue: PF-2403

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

Reproduce the desktop Table of Contents behavior with a long list and inspect the ToC implementation around the InnerScrollContainer jumplink. Compare its available height while the page header is expanded and after it collapses. Done means the right-aligned menu can reveal and scroll to all remaining content items without requiring the full page to scroll.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.