rstacruz / flatdoc

Build sites fast from Markdown

Home Page:http://ricostacruz.com/flatdoc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Links are not scrolled correctly.

blynkkk opened this issue · comments

Thanks for the great documentation tool! We love it a lot!

We use it at http://docs.blynk.cc
But whenever we send our users a link to a specific section, the content is not scrolled correctly.
e.g. http://docs.blynk.cc/#blynk-server is scrolled to a different section.

I assume that the issue is in using images that affect the page height. Is there a way to fix it?

Thank you

The issue I see is that when you click on a section link in the table of contents, it doesn't always highlight the right section, even though it scrolls to the right section. It's confusing because it looks like you clicked the wrong link. You can see it happen in the Flatdoc documentation. For example, clicking "JavaScript hooks" takes you to the right section, but highlights "Inspirations." (if your screen is tall enough)