elegantframework / elegantframework/elegant-cli

Bug: The last Heading element of page is not reachable via the Table of Contents

Open
#290 0 comments 0 reactions 1 assignee Claimed by @Bowens20832 View on GitHub
status: in progress type: bug version: 3.2
Dominant language
TypeScript
Stars
223
Forks
24
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When you click the last item of the table of contents, or scroll to the bottom of a docs page; the last heading item will not be active.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to [https://www.elegantframework.com/docs/installation](https://www.elegantframework.com/docs/installation)
2. Scroll to the bottom of the page
3. Verify the that last item of the table of contents is not active.

**Expected behavior**
You should be able to click the last heading item of the auto-generated table of contents and scroll to it automatically.

**Screenshots**
![image](https://github.com/elegantframework/elegant-cli/assets/10189130/de2b98ab-7641-4fde-94be-02f76e6ae11d)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.