documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Back button only works once (Chromium, Firefox)

Open CobyPear opened this issue 2 years ago • 2 comments

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

  1. Visit docs.pantheon.io
  2. Visit a page
  3. Visit another page
  4. Use the back button (OK)
  5. Use the back button (No effect)

https://github.com/pantheon-systems/documentation/assets/63015754/29490835-d32b-416f-8579-369ef98548f8

Suggested Resolution

Additional information

CobyPear avatar Oct 04 '23 12:10 CobyPear

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

stevector avatar Oct 04 '23 15:10 stevector

Some possible threads to investigate: https://stackoverflow.com/questions/54856449/browser-back-button-not-working-for-gatsby-js-project

stevector avatar Oct 04 '23 15:10 stevector