39 points · by jhabdas · 5y ago · 12 comments
If you edit your browser setting regarding smooth scrolling you set what happens when you scroll on your input device, i.e. touchpad, mouse wheel or whatever.
If you as a website developer set the `scroll-behaviour` css property you control what happens when the browser changes scroll position for ex. if you programatically change the focus.
SPAs are inherently difficult to SEO, difficult to parse by a third party, create their own DOM, etc.
It seems like instead of working to make the browsers do what people wanted they just did it with Javascript.