Post

Currently redesigning `scrollBehavior` in vue-router. What are you missing today? Currently planned - Allow saving multiple positions - Custom capture and restore functions to use scrollIntoView and others - Session history instead of history state - Custom keying of entries (same url = same scroll)

0 reposts10 likes

Can behavior in scrollBehavior accept the full CSS ScrollBehavior type and just pass it through? I remeber one time spending like 20 min fighting it once for a slower smooth scroll, convinced I'd written the class wrong πŸ˜… just a one-off from a couple years ago though.