Skip to content
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

HTML TOC navigation is confusing #261

Open
asarkar opened this issue Dec 19, 2024 · 4 comments
Open

HTML TOC navigation is confusing #261

asarkar opened this issue Dec 19, 2024 · 4 comments

Comments

@asarkar
Copy link

asarkar commented Dec 19, 2024

None of the links in the TOC go anywhere. Chrome v131.0.6778.140.

TOC.mov
@lucag
Copy link

lucag commented Dec 20, 2024

Same problem here on the latest Safari and Firefox on macOS Sequoia 15.0.1. The links do work (just need to collapse back the Table of Contents), but the ToC takes the entire page width.

@asarkar
Copy link
Author

asarkar commented Dec 21, 2024

@lucag I've no idea what you're saying. I've added a video in the ticket showing the problem.

@noelwelsh
Copy link
Contributor

If you close the table of contents (or scroll to the bottom) you'll find it has navigated to where you wanted to go to. However it is a terrible UI as it currently exists, as it's not obvious it has done anything.

I might rework it using the relatively new popover feature in HTML. Writing content is a higher priority for me at the moment, though.

@asarkar asarkar changed the title HTML TOC navigation is broken HTML TOC navigation is confusing Dec 21, 2024
@asarkar
Copy link
Author

asarkar commented Dec 21, 2024

@noelwelsh I've updated the ticket title to accurately indicate the problem, which isn't as bad as the links being broken, but still very confusing.

I might rework it using the relatively new popover feature

I think the easiest thing to do would be to close the TOC and scroll to the desired section. The browser does the scrolling anyway, so, closing the TOC should give the impression that something happened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants