Automatically closed - issue fixed for 2 weeks with no activity.
The navigation through sections is inconsistent. Clicking on an H2 link in the Table of Content (ToC) does not always take you to the correct focus point in the HTML.
Scenario 1 (double clicking)
1. View content in the ?paged
mode, so only 1 section under a particular H2 header is visible on a page
2. Scroll down and click Section N (not first H2) in the ToC that includes H3 headers as well
3. That section of the ToC expands, but the focus in the main body of the page does NOT shift to that H2 heading
4. Clicking again on that H2 link in the ToC will then take the focus to the correct part of the document.
Scenario 2 (clicking on the last H3)
1. View content in the ?paged
mode, so only 1 section under a particular H2 header is visible on a page
2. Scroll down and click Section N (not first H2) in the table of content that includes several H3 headers
3. Click on the last H3 header in that section in the ToC. It will take the focus to the correct part of the document
4. Click on the next H2 section. The focus in main body shifts somewhere but NOT to the expected H2.
Change function setActive()
in toc.js
to add scrolling after removing class="active" from one section and adding it to an another section, then scroll to the top of a page by hash.
Fixed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed - issue fixed for 2 weeks with no activity.