Dvc.org: nav: right CONTENT sidebar highlights 2nd header on top window position

Created on 29 Oct 2019  路  4Comments  路  Source: iterative/dvc.org

Right-side CONTENTS element doesn't highlight the right header, at least with scroll 0 in the example below:

image

https://dvc.org/doc/install/macos

Related: #723

bug doc-engine priority-p2 website

All 4 comments

Maybe also related: #750

750 is not related. In this case the problem is that three and/or more H2 titles are visible. Some of the even above the middle of the page. In this case the heuristic we use to determine which of the titles to highlight decides to show the second one. I think this just an edge case that can be fixed by applying a very specific detection that page is at it's most top or very very close to that and in that case force the very first H2.

Also related/ part of the solution: #723

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dashohoxha picture dashohoxha  路  4Comments

efiop picture efiop  路  5Comments

elleobrien picture elleobrien  路  4Comments

jorgeorpinel picture jorgeorpinel  路  3Comments

efiop picture efiop  路  4Comments