This originally started out as a 'change settings' type question, it has now evolved in to a 'change settings' and 'bug' question.
The original 'change settings' question:
Is it possible to change the region of the viewport that activates the current state of a scroll anchor button?
I have some scroll anchors set up in the site below, if you go to the Home page and select the 2nd publication, MS Natural History, then open the side navigation panel, you will see the scroll links with a current state set.
The issue I have is that the current state only activates when the anchor reaches 50 into the viewport, it then deactivates when the bottom of the anchor passes the 50vh point.
What I would like it the anchor current state stays active until the anchor completely leaves the vp, is that possible?
You will see what I mean if you open the side nav and scroll the page manually, the current states of the buttons change color as the top and bottom of the sections reach the 50% vh point.
Part 2: Bug problem.
In testing the above settings I now find the scroll buttons do not scroll the page to the correct position, they seem to be confused as to which div is which. When you manually scroll the page, the current states of the buttons correctly recognise each div, but clicking the button does not scroll the page to the correct spot, is this a known bug?
Is it something to do with the links being nested inside a hidden panel?