0

I have a Button in Page A, when Button was click page will show "has click," and jump to another Page B, but when swipe back "has click" was still in Page A, Page A does not reload.

This Acton does not same with mac safari and PC Chrome, Why?

This URL is reproduce demo:

https://whatwg6.github.io/ios-safari-swipe-back/

whatwg
  • 314
  • 2
  • 13
  • https://discussions.apple.com/thread/253709627 https://developer.apple.com/forums/thread/701612 – whatwg Mar 02 '22 at 05:02

1 Answers1

0

First time answering question on Stackoverflow :) I encountered the same problem as you: my web app didn't reload when I swiped backward (and forward).

I found the answer here: Prevent safari loading from cache when back button is clicked

It solved my problem and I hope it solves yours too! Have a nice day!

teemo
  • 1
  • 2