Alisa
Alisa
@jathayde While making the changes, I ran into a small hiccup adding the space between the highlight end and the scrollbar. This link overflows since it doesn't wrap. We might...
@MatheusRich If I'm reading the Mozilla docs correctly, it looks like the `{ passive: true }` option might not have an effect on the scroll event like it does for...
@SleeplessByte This is with wrapping, and also a dark mode shot. For some reason I thought I had tried to wrap it and that it had caused some other problem,...
Switching to Intersection Observer required some finagling to get scrolling up the page to work as expected.
@carlosantoniodasilva @p8 Originally before trying to get it to work with an intersection observer, I had it so it would check a y position, and highlight whatever link with a...
@carlosantoniodasilva Okay, I'll do that.
@SleeplessByte I think the problem might be related to narrowing the boundary of the intersection observer to accommodate short sections. If the intersection observer is the whole viewport then it...
@SleeplessByte Sure! I'd love to know if there is a way to make it work. This is an example of the problem. I click the 4.7.2 link and it takes...
@SleeplessByte Before you get too far, I found mistakes. I pushed an updated version that works much better. Although it's currently still inconsistent when scrolling too quickly to the top...
@SleeplessByte I think I have a solution to the fast scrolling problem, and the subsection problem. Instead of observing only the links, if the observer watches all the children of...