Hi there
I'm working on an in-page side navigation that shows the active nav item based on the current content that is visible.
This can be triggered by scrolling on the page or clicking on the nav item.
This page will, eventually, contain dynamic content. In some cases the first/last item of the content section will contain only little text.
This causes the issue that I can not trigger the nav item to get active because the panel does not get triggered.
Is there a way how to fix this?
(the issue is only visible on screens that are higher than the codepen example below)
Thanks in advance!