Skip to content

Scroll Restoration not working #700

@pedrobernardina

Description

@pedrobernardina

Scroll Restoration is feature that restores scroll position when the user navigates back to a page. It's especially important on PLP, so when users visits a product page, they don't need to scroll back to where they were when they return.

In the first video we can see the expected behaviour — the user scrolls on the PLP, clicks on a product and, when she clicks on the back button, returns to where she previously was on the PLP. We’ve tested it on Shein store (not VTEX IO) for illustration purposes.

In the second video we can see how it is today on our store. This seems to be a problem with VTEX IO, since this feature does not work in any of the stores we’ve tested (including the default theme).

scroll-restoration-shein.mp4
scroll-restoration-oficina.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions