How to update Nav on Scroll when section is in view?

Hi all,

I would like to update some text in a fixed sidebar to reflect the Section that the user is currently scrolling through.

I am currently using Scroll into View interactions to show/hide text blocks as the user scrolls down through the page. This works ok when scrolling down, but it appears that ‘Scroll into View’ does not work when the user scrolls back up. Thus, the title does not update if the user scrolls back up at any point and the whole UX breaks.

Here is the read only for the WIP build - Webflow - Hi Andrew

The section title I am referring to appears fixed right half way down the viewport as you begin to scroll through the sections.

What is a better way to achieve my desired outcome here?

Many thanks

Sam


Here is my site Read-Only: LINK
(how to share your site Read-Only link)