calebjacob / tooltipster

A jQuery tooltip plugin
MIT License
2.76k stars 482 forks source link

How to reset scrolled position back to top after refresh #801

Closed drkrtj closed 4 years ago

drkrtj commented 4 years ago

Hello, Thanks for all your work on this script. I have a large tooltip box. It has a scroll to be able to view content below. If user refreshes the browser or closes the tooltip the scroll is still stuck at the bottom. How do I reset the position back to the top after a page refresh and/or after the tooltip is closed?

    Thanks
louisameline commented 4 years ago

Hello, thanks for your message. This is not related to Tooltipster per se. Please search on the web how to scroll a container back to top in javascript. Thank you