Hey! Yeah, javascript scrollintoview can be finicky with smooth scrolling. The `{ behavior: 'smooth' }` option *should* work, but some browsers (looking at you, Safari) don’t play nice.
Try adding a polyfill like `smoothscroll-polyfill`—it’s saved me a ton of headaches. Also, check if your CSS has any `overflow` or `scroll-behavior: smooth` conflicts.
For mobile, it’s hit or miss. Sometimes a lightweight library like ScrollMagic works better.
Try adding a polyfill like `smoothscroll-polyfill`—it’s saved me a ton of headaches. Also, check if your CSS has any `overflow` or `scroll-behavior: smooth` conflicts.
For mobile, it’s hit or miss. Sometimes a lightweight library like ScrollMagic works better.
