slate icon indicating copy to clipboard operation
slate copied to clipboard

TOC Links collapses if not enough content to fill the screen

Open dbaileychess opened this issue 3 years ago • 1 comments

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.

dbaileychess avatar May 11 '21 19:05 dbaileychess

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

ghubstan avatar Jan 31 '22 22:01 ghubstan