slatedocs / slate

Beautiful static documentation for your API
https://slatedocs.github.io/slate
Apache License 2.0
36.06k stars 158 forks source link

TOC Links collapses if not enough content to fill the screen #1440

Open dbaileychess opened 3 years ago

dbaileychess commented 3 years ago

If there is not enough content to have a scrollbar, going to a specific anchor in a doc causes it to jump to the bottom-most anchor.

You can see this with the live link here: https://slatedocs.github.io/slate/?python#delete-a-specific-kitten

If your screen is big enough, there isn't enough content below that tag that it automatically jumps to the bottom-most anchor: (e.g., https://slatedocs.github.io/slate/?python#errors). If your screen is small enough to have a scrollbar for that content, it works.

ghubstan commented 2 years ago

I thought my generated MD was malformed, but it turns out to be this issue.