requarks / wiki

Wiki.js | A modern and powerful wiki app built on Node.js
https://js.wiki
GNU Affero General Public License v3.0
24.64k stars 2.73k forks source link

Page Contents Won't Scroll #557

Closed TTriemstra closed 6 years ago

TTriemstra commented 6 years ago

Actual behavior

The Page Contents sidebar is static even when the contents exceed the vertical display size of the sidebar. Scrolling only occurs when a user reaches the very end of the document.

Expected behavior

It would be nice if the sidebar could scroll to display all of the page contents, no matter where a user was in the document. This would make navigating long documents significantly easier.

Steps to reproduce the behavior

To reproduce, view a document with ~20 headers (h1 or h2). The Page Contents sidebar will first scroll to cover the navigation menu, but will then stop scrolling until very close to the bottom of the document.

NGPixel commented 6 years ago

Duplicate of #170