You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extracting from this comment, the chapters list, just like the Table of Contents, is a useful anchoring point and context for when you are reading a particular document. To that end, it would be useful to have it be sticky and scroll with you down the page, like so:
The main challenge in making this happen is to handle the case where the viewport is small, and a very long chapter list (perhaps made longer through multiple nodes being expanded) is too long for the viewport.
Instead of using JS to measure the height and then un-sticking the chapters list, another solution is to allow the chapters list to scroll independently. Potentially this could also be simpler from an implementation perspective; have the chapters list always span the full 100% available height of the viewport, and then apply scrollbars as needed. The comment here has a code snippet that could potentially help accomplish this in a light-weight way.
This is not urgent or a blocker for the refresh, but would be nice to have.
The text was updated successfully, but these errors were encountered:
Extracting from this comment, the chapters list, just like the Table of Contents, is a useful anchoring point and context for when you are reading a particular document. To that end, it would be useful to have it be sticky and scroll with you down the page, like so:
The main challenge in making this happen is to handle the case where the viewport is small, and a very long chapter list (perhaps made longer through multiple nodes being expanded) is too long for the viewport.
Instead of using JS to measure the height and then un-sticking the chapters list, another solution is to allow the chapters list to scroll independently. Potentially this could also be simpler from an implementation perspective; have the chapters list always span the full 100% available height of the viewport, and then apply scrollbars as needed. The comment here has a code snippet that could potentially help accomplish this in a light-weight way.
This is not urgent or a blocker for the refresh, but would be nice to have.
The text was updated successfully, but these errors were encountered: