Skip to content

Short-circuit detection when page is opened in background tab since web-vitals.js will not report LCP #1927

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 17, 2025

Conversation

westonruter
Copy link
Member

Fixes #1926

@westonruter westonruter added [Type] Bug An existing feature is broken [Plugin] Optimization Detective Issues for the Optimization Detective plugin labels Mar 16, 2025
@westonruter westonruter requested a review from felixarntz as a code owner March 16, 2025 00:27
@westonruter
Copy link
Member Author

cc @tunetheweb

Copy link

github-actions bot commented Mar 16, 2025

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: westonruter <[email protected]>
Co-authored-by: felixarntz <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@westonruter westonruter merged commit 35b9ae1 into trunk Mar 17, 2025
9 of 12 checks passed
@westonruter westonruter deleted the update/short-circuit-when-page-hidden branch March 17, 2025 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Plugin] Optimization Detective Issues for the Optimization Detective plugin [Type] Bug An existing feature is broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LCP is never reported when a page is opened in a background tab
2 participants