Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Scrolling to Bottom Of Page #25

Open
BallardB opened this issue Jul 2, 2021 · 0 comments
Open

Scrolling to Bottom Of Page #25

BallardB opened this issue Jul 2, 2021 · 0 comments

Comments

@BallardB
Copy link

BallardB commented Jul 2, 2021

Hello!

I'm currently encountering a scrolling issue where the user is automatically scrolled to the bottom of the page instead of their previous position. On the majority of pages on the site, page location restoration works great and as expected. On a handful of pages when you use the browser’s back button, it sends the user to the bottom of the page no matter where the user initially was.

I've ensured that the <ScrollMemory /> component is included after the Router.

Has anyone had a similar issue or have any advice on how to proceed? Thank you kindly!

Im using:
react 16.3.1
react-router-dom 5.2.0
react-router-scroll-memory 2.0.7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant