pixelgrade / anima

Anima is the universal FSE WordPress theme of Pixelgrade.
GNU General Public License v2.0
6 stars 1 forks source link

Blank page after using Back and Forward buttons in Safari #308

Open Alexandru-Teodorescu opened 2 years ago

Alexandru-Teodorescu commented 2 years ago

If you open a website using Rosa 2 in the Safari browser and go to a random page, that page will be visible. If you try to go back to the previous page using the back button, the page will go blank, and you can't view it until you refresh the page.

I've tested on local and on the demo, the same behavior is happening on both sides.

To temporarily fix this, you can add this custom code:

body.is-loading {
opacity: 1;
}
georgeolaru commented 1 year ago

Through my tests, I notice that it also happens:

  1. When the browser console is closed (if I open the inspector and navigate throughout the website, I didn't notice the opacity issue)
  2. It happens on Anima theme too
georgeolaru commented 1 year ago

+1