Honestly, the native `window.scrollTo()` with `behavior: 'smooth'` is fine for most cases, but yeah, it’s not perfect.
If you want delays or custom easing, try this lightweight lib called *zenscroll*. Super easy to set up:
```javascript
import zenscroll from 'zenscroll';
zenscroll.to('#element');
```
Works like a charm and handles edge cases better than vanilla JS.
If you want delays or custom easing, try this lightweight lib called *zenscroll*. Super easy to set up:
```javascript
import zenscroll from 'zenscroll';
zenscroll.to('#element');
```
Works like a charm and handles edge cases better than vanilla JS.
