Smooth scroll

Hi, in react-router there is a smooth scroll href/link component. I cant find the alternative for solid. Does anybody know about smooth scroll for solid? Like when navigating on the same page to an element with id it shouldsmooth scroll to it. Thanks for any idea
4 Replies
thetarnav
thetarnav2y ago
solid's site has it, so you might look around in the sourece https://www.solidjs.com/docs/latest/api https://github.com/solidjs/solid-site
KokoNeot
KokoNeot2y ago
ah just scrollIntoView 😅
KokoNeot
KokoNeot2y ago
GitHub
solid-site/Docs.tsx at 88147f305310f8710414d21bbff32373d1cf0f48 · s...
Code that powers the SolidJS.com platform. Contribute to solidjs/solid-site development by creating an account on GitHub.
KokoNeot
KokoNeot2y ago
thanks