Update sidebar to correctly identify progress on jumps and scrolling #207
-
SummaryWhile writing some docs and generating some smaller sections I noticed that the sidebar was not moving as I expected, so that every item is iterated through, but it actually jumps around and partially skips smaller sections entirely through the screen touching other elements as well. Example: (Add Para-C as alias) is entirely skipped even when slowly moving 2021-07-28.19-08-26.mp4This is kind of irritating while using and in bigger forms, where loads of smaller items/headers are used this can lead to huge jumps, where progress does not appear clean and is almost random. Idea
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This theme uses https://github.com/cferdinandi/gumshoe for the sidebar scrollspy. That project, however, seems pretty dead. If you have any "scrollspy" libraries, that are vanilla JS or jQuery based that have better/configurable behaviours like the ones you're looking for, I'm very interested! :) |
Beta Was this translation helpful? Give feedback.
-
Suggestions and PRs for adopting a jQuery / vanilla JS sidebar scrollspy library are welcome! |
Beta Was this translation helpful? Give feedback.
Suggestions and PRs for adopting a jQuery / vanilla JS sidebar scrollspy library are welcome!