obsidianmd / obsidianmd/obsidian-developer-docs
On-page outline does not highlight last section when scrolling to bottom
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 521
- Forks
- 174
- PR merge metrics
- No merged PRs in 30d
Description
Bug
When scrolling to the bottom of a documentation page, the final heading in the "On this page" outline does not become active.
Steps to reproduce
- Open any long documentation page
- Scroll near the bottom
- Continue scrolling until the final section is visible
Expected behavior
The final heading should become highlighted in the outline.
Actual behavior
The page reaches the bottom before the final heading can trigger the scroll observer, leaving the previous heading highlighted.
Possible fix
Adding extra scroll space/padding at the bottom of the content container allows the final heading to enter the observer area.
Contributor guide
No contributing guide indexed for this repository
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
Start by locating the documentation page's On this page outline and scroll-observer logic, then inspect how the content container ends at the bottom of a long page. Verify the final heading becomes active when it is visible, and confirm the previous heading is no longer highlighted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation, frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 70/100