getsentry / getsentry/sentry-javascript

Dead clicks are created when users navigate back in a MPA

Open
#12,666 9 comments 0 reactions 1 assignee Claimed by @chargome View on GitHub
Browser Bug Replays
Dominant language
TypeScript
Stars
8.7k
Forks
1.8k
Avg merge
1d 17h
Merged PRs (30d)
515

Description

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).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.