It would be nice to enhance the browser component to include the scrollTo behavior options:
Specifically, using “instant” for behavior is great for internal link navigation where you don’t necessarily want to see a scroll animation.
Here’s how I’m doing it with a simple function:
function instantScroll(position) {
window.scrollTo({
top: position,
behavior: 'instant',
});
}