What is the scrolling event streamlit

i want to create an event where the button is clicked and the page is scrolled back on top of the page. i also tried integrating javascript but its not accepting it

I’ll close this since there is an answer in another thread with the same question. :slight_smile: