Multi-section navigation

I am trying to understand how this example app implemented the left hand menu that scrolls to each section. I understand this is probably a fixed container in the left hand with some static list of links/buttons, but how can we add an event that will scroll to the desired section when the user clicks on each navigation link in the sidebar? Thanks!

https://retoolin.tryretool.com/embedded/public/38a7edd1-7350-4b86-a69f-3f18cd657ae2

:wave: Hey @cpereira, welcome to the community :))

Much easier :p, the sidebar is actually a new component (in beta currently). The scrolling is done via event handlers.

Hope that helps :v:

It does! Oh my god, it is so obvious, I searched the event handler up and down and I don't how I missed the "Scroll into view" method, thanks a lot @minijohn!

1 Like