hlxsites / prisma-cloud-docs-website

blocks and gdoc authored content for https://docs.prismacloud.io
Apache License 2.0
3 stars 2 forks source link

Browser back button not working #128

Closed iansk closed 1 year ago

iansk commented 1 year ago

If you navigate to a page in the site, then go to another page by selecting an item from the left nav bar, then click the browser's back button, you don't get taken back to the first page.

Repro:

  1. Go to a page in the site, e.g. Compute user roles.

  2. In the left nav bar, click the next topic, e.g. "Assign roles"

  3. After the "Assign roles" page loads, click the browser's back button.

The page doesn't change. It still shows the "Assign roles" content. Note that the URL in the address bar does correctly change back to the first page.

Expected results:

When you click the back button, the first page's content loads