getsentry / getsentry/sentry-javascript

Dead clicks are created when users navigate back in a MPA

未关闭
#12,666 9 条评论 0 个 reaction 已指派 1 人 已被 @chargome 认领 在 GitHub 查看
Browser Bug Replays
主要语言
TypeScript
星标
8.7k
派生
1.8k
平均合并
1 天 17 小时
30 天内合并 PR
515

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。