getsentry / getsentry/sentry-javascript

Dead clicks are created when users navigate back in a MPA

Aperta
#12,666 9 commenti 0 reazioni 1 assegnatario Rivendicata da @chargome Vedi su GitHub
Browser Bug Replays
Lingua principale
TypeScript
Stelle
8.7k
Fork
1.8k
Merge medio
1g 17h
PR unite (30g)
515

Descrizione

For MPA, dead clicks are created if users click a link and then navigates back. The [bfcache](https://web.dev/articles/bfcache) preserves the timer state and resumes it when the user navigates back and the page is restored from bfcache. We should probably clear our dead click timers when the page is restored from bfcache (and maybe even when it begins to enter bfcache).

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.