ugh, smooth scrolling can be such a pain. i had the same issue last week!
turns out some browsers just ignore the `behavior: 'smooth'` flag. i ended up using a tiny library called `scroll-behavior-polyfill` and it worked like a charm.
also, make sure you’re not calling scroll into view too fast after page load. sometimes the browser needs a sec to render stuff properly.
turns out some browsers just ignore the `behavior: 'smooth'` flag. i ended up using a tiny library called `scroll-behavior-polyfill` and it worked like a charm.
also, make sure you’re not calling scroll into view too fast after page load. sometimes the browser needs a sec to render stuff properly.
