Streaming live at 10am (PST)

Page going back to top after menu click


I have a dynamic menu that shows/hide different sections when clicked. The problem is each time I click a button, it goes back on top on the page.

What I would like is to be able to keep my scroll position after clicking on one of the buttons.

Also, the page move a little when I click on any button.

Is there anyone that had something similar happens to their website?

Thank you :slight_smile:

Here is my public share link:LINK

Change the element you click from a link block to a regular div, you may need to rebuild it. Then just change the cursor type to pointer to simulate a link. The behavior is due to the # in the link block that will cause it to go to top when you aren’t using it as an actual link.

1 Like

Thank you so much! I’ll try that! :slight_smile:

It doesn’t seem to work… I think it has to do with my interactions. When clicking on a button, my interaction is set to show or hide some content. Maybe I’m not calling the right things so it goes up the page. What do you think?

Thank you :slight_smile: