-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nav: right CONTENT sidebar highlights 2nd header on top window position #38
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Also related/ part of the solution: #37 |
Some ideas: |
Ping @iterative/websites small bug outstanding here. Also related: #37 |
p.s. this only happens in pages with an H2 near the top (most). Otherwise nothing is highlighted (see also #37), e.g. for https://dvc.org/doc/user-guide/experiment-management/sharing-experiments (in my screen at least). |
Hmmm. This may be a more general issue. For example https://dvc.org/doc/command-reference/plots#html-templates highlights the next header as well: |
We can probably overhaul the highlighting logic using intersection observers and some more elegant plumbing on getting the headers in the list synchronized with the content. |
Right-side CONTENTS element doesn't highlight the right header, at least with scroll 0 in the example below:
The text was updated successfully, but these errors were encountered: