Skip to content

Code examples trigger page scroll on click #630

Open
@leonlafa

Description

Description

When I select any of the code examples from the home page, the page automatically scrolls to the top. I have to scroll back down to view the updated code.

Code examples:
gridsome-org-code-examples-scroll-issue

Expected result

When selecting an example from the sidebar, a different piece of code should slide into view.

Actual result

When selecting an example from the sidebar, the page scrolls to the top.

issue-630-scroll-bug.mov

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