Closed DavisVaughan closed 2 years ago
This is because of :
$('body').scrollspy({
target: '#toc',
offset: 56 // headroom height
});
i.e. the scrollspy offset is fixed instead of using pkgdown-nav-height
. This will need a fix in pkgdown.
I just clicked on "What does masking mean" and it brings you to the right section, but seems to highlight the one above it. It looks like non-tidytemplate sites don't have this problem.
https://rlang.r-lib.org/reference/topic-data-mask.html#what-does-masking-mean-
i.e. compare to clicking on a TOC section here, which seems to highlight the one you clicked on https://pkgdown.r-lib.org/articles/customise.html#additional-html-and-files