Jump-to-heading should place index at nearest heading #3512
Labels
good-first-issue
Marks a good issue for first-time contributors.
ui/ux
Nyxt User Interface: themes, appearance and usability.
Purpose of request:
To improve the user experience when using jump-to-heading.
Describe your proposed change:
Make the list interface that appears with jump-to-heading start with the index/highlight over the entry for the nearest heading.
Why do you believe this to be an improvement?
Jump-to-heading is already an incredibly useful feature. However, a limitation of it is that its interface always starts on the first heading of the page. Since this feature is often used on very long webpages (e.g. GNU info manuals converted to a single webpage), this is incredibly inconvenient as it causes the user to lose their place on the page. If the page includes several identical headers, this makes the feature become useless.
Additional context/User story:
I often have trouble with this when browsing a deeply-nested or long page.
Screenshots/Mock ups:
N/A
Pre-Build Checklist:
The text was updated successfully, but these errors were encountered: