I deployed a react app with react-router to Github Pages. Clicking the bottom links and the position in another page would be also at the bottom.
With package gh-pages
installed, this also happens in local dev server. Without the package, clicking a link to another page would be from the start.
Deployed work-in-progress project in Github Pages (best view with mobile browsers): https://ymcheung.github.io/react-portfolio
Detailed code in StackBlitz: https://stackblitz.com/github/ymcheung/react-portfolio
I expect clicking the links and the position will be at the start.
Thank you!