Back button only works once (Chromium, Firefox)
Expected behavior
- Back button can be used multiple times to go back to a previous page on the docs site
Actual behavior
- On Chromium browsers and Firefox, the back button only goes back one page. Safari seems to work.
Steps to reproduce the problem
- Visit docs.pantheon.io
- Visit a page
- Visit another page
- Use the back button (OK)
- Use the back button (No effect)
https://github.com/pantheon-systems/documentation/assets/63015754/29490835-d32b-416f-8579-369ef98548f8
Suggested Resolution
Additional information
Huh, I'm seeing the same behavior. My first guess was that this might be a regression introduced by last week's significant retheming. But no, the same broken behavior is present on the preview environment for this months-old PR that uses the previous design.
https://pr-8557-documentation.appa.pantheon.site/terminus/directory https://github.com/pantheon-systems/documentation/pull/8557#issuecomment-1601353404
Some possible threads to investigate: https://stackoverflow.com/questions/54856449/browser-back-button-not-working-for-gatsby-js-project