When a book has long pages, the table of contents in the sidebar can't be scrolled on its own. The only way to reach the entries near the bottom is to scroll the whole page — and as soon as you do that to keep reading, the navigation slides up and out of view along with the text.
It gets worse the longer the book. I'm reading a 170-page manual, and on a normal screen the sidebar ends up over 20,000 pixels tall, so the list is effectively unusable while reading.
What you'd expect is for the sidebar to stay put and scroll its own list, independently of the page.
The cause is that the sidebar is sized against the page rather than the window, so it's never shorter than its contents and its own scrollbar never appears.
Happy to send a PR — I have a small CSS fix working locally, with system tests.
When a book has long pages, the table of contents in the sidebar can't be scrolled on its own. The only way to reach the entries near the bottom is to scroll the whole page — and as soon as you do that to keep reading, the navigation slides up and out of view along with the text.
It gets worse the longer the book. I'm reading a 170-page manual, and on a normal screen the sidebar ends up over 20,000 pixels tall, so the list is effectively unusable while reading.
What you'd expect is for the sidebar to stay put and scroll its own list, independently of the page.
The cause is that the sidebar is sized against the page rather than the window, so it's never shorter than its contents and its own scrollbar never appears.
Happy to send a PR — I have a small CSS fix working locally, with system tests.