Having a Cross-Origin-Opener-Policy setting in my netlify.toml
prevents pages from loading when navigating quickly on iOS. Interestingly enough, I can only reproduce the issue on iOS (both my personal iPhone 15, and on SauceLabs/Browserstack), and not on desktop or Android. The moment I remove the header setting from netlify.toml
, everything works fine again.
Steps to reproduce:
- On an iOS mobile device, go to https://heroic-pixie-8732cd.netlify.app/
- Quickly click the 2 links to quickly navigate between the 2 pages.
- After a few fast page loads (usually 3 page loads), you will suddenly get a blank page.
My netlify.toml
:
[[headers]]
for = "/*"
[headers.values]
Cross-Origin-Opener-Policy = "same-origin"