RunDMC
RunDMC copied to clipboard
TOC rendering issues on guide pages with anchors
In some cases, the toc titles overlap the leaf pages. Here is an example:
http://docs.marklogic.com/guide/jsref/api#id_90070
I think the problem here is that the selector is not changing properly to the "Guides" section when you go directly to one of the guide pages, so it shows the guide page overlayed on the Server-Side JavaScript Function page. So maybe a fix is to make sure it properly sets the selector?
@kcoleman-marklogic I wonder if this is the mystery thing you see relatively often. Next time you see this, take a look at the Section selector on the toc and see if it is on the correct selection (ie, on Guides if you are on a guide). That can validate or dispute my theory....
@paxtonhare , this is one I would like to put on your queue to look at when you have some time. Can you add this to your list please? The link above repros it. I think the javascript is scrolling to the right place and then erroneously placing a different toc on top of it.
Repro here:
http://docs.marklogic.com/guide/jsref/api#id_90070