Skip to content

Idea: Optional Smooth Scrolling #33

@chriscoyier

Description

@chriscoyier

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions