Hi! I’ve been searching for ways to add a hovering “Back to top” button on the bottom right side of my screen once the user has started scrolling without any luck. Does anyone knows how to do this or maybe can direct me to the right documentation on how to do it?
Just wrap your buttom into html.A component and link it to home compoment. If you would need help with some example let me know I can look at it tomorrow.
Hi @martin2097 , that would be super helpful! I’m new to HTML so I’m kinda confused about where to start with adding the back-to-top button. Do you have some example codes that I can take a look at and study from?
I got it to work! As per the recommendation from this topic:
I add an id=‘home’ on my very first dbc.Row and then add then add a dcc.Link with a dmc.Affix inside somewhere down in the layout code. The code looks like this: