-
Notifications
You must be signed in to change notification settings - Fork 352
Description
This is a usability suggestion and might be somewhat subjective. Especially for larger pages in scikit-image's API documentation, I've perceived the navigation with the right sidebar TOC as annoyingly slow. When I click an anchor link, my browser can take around a second to scroll to the target. This is a small paper cut but it adds up.
I finally figured out that this is due to bootstrap setting scroll-behavior: smooth
(MDN reference for scroll-behavior
). I'm aware that we can trivially override this in scikit-image and I intend to suggest that.
But I'm also wondering if using scroll-behavior: auto
would be an improvement for this theme. If I understand correctly, animations can decrease accessibility and be disorienting. So it might be useful in that regard too. In any case, I don't understand the UX purpose of this animated scroll.
I'd be happy to do a PR for this. But if somebody already knows where the fix goes, please go ahead!
(Background reading: You dont need animations. That finally pushed me to investigate this issue.)