I am trying to create a smooth scrolling page on a gatsby site. If the user clicks on a link in the menu, the website scrolls to a section with a matching id on the same page. The scrolling itself works without any problem. But I also want, that if the user just scrolls through the page - without clicking the links - the URL in the browser should update with hashes used in the section ids. e.g. website.com/#section1, website.com/#section2 etc. None of the plugins I tried could do this so far:
It seems to me that all of this plugin promise this feature, but it does not work for me. Maybe Gatsby needs some extra configuration to make this work?