guidepost icon indicating copy to clipboard operation
guidepost copied to clipboard

Idea: Optional Smooth Scrolling

Open chriscoyier opened this issue 5 years ago • 0 comments

Looks like part of what the JS does is smooth-scroll to the link it finds.

That's sometimes a nice effect. CSS alone can do it these days https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior

Although the JS way might have deeper browser support, and it's nice in that it doesn't effect other stuff, for example, it doesn't smooth scroll to things you find on the page with the native browser UI for that like the CSS method does (which I know some people dislike).

If you're like me, you're not into the idea of a small plugin adding it's own little JS file to my front-end, so it would be nice to be able to turn off.

chriscoyier avatar Mar 23 '20 21:03 chriscoyier