patternfly / patternfly/patternfly-org
Bug - Table of Contents - doesn't scroll to the end of ToC for long lists
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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