I would like to show/hide the navigation based on the scrolling direction of the user. When the user scrolls down, the navigation should be hidden. When the user scroll up, the navigation should be shown.
You can accomplish that using an interaction. Create the interaction and apply it to the 2nd section down (not the top hero section). When creating the interaction have it target the class of the menu bar.
Thanks for your feedback. But I think you didn’t get the idea. I don’t want to show/hide the navigation if a div / element is scrolling into a view or out of view.
The navigation should be shown oder hidden when the user scroll down or up - independent where the scrolling position of the user is.