Ugh, I feel your pain! javascript scrollintoview is great... when it works. The smooth scrolling issue is usually browser-related.
Pro tip: Wrap it in a `setTimeout` or use `requestAnimationFrame` to force it. Like:
```js
setTimeout(() => {
element.scrollIntoView({ behavior: 'smooth' });
}, 100);
```
Mobile is a wild west tho. Maybe try `scrollTo` with manual easing?
Pro tip: Wrap it in a `setTimeout` or use `requestAnimationFrame` to force it. Like:
```js
setTimeout(() => {
element.scrollIntoView({ behavior: 'smooth' });
}, 100);
```
Mobile is a wild west tho. Maybe try `scrollTo` with manual easing?
