Skip to content
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

Update web vitals #168

Merged
merged 3 commits into from
Jan 28, 2024
Merged

Update web vitals #168

merged 3 commits into from
Jan 28, 2024

Conversation

rviscomi
Copy link
Member

@rviscomi rviscomi commented Jan 28, 2024

Example of the new web-vitals version successfully falling back to the correct target selector, and the extension successfully falling back to the correct element reference. For context, the INP interaction here has a pointerdown entry as the canonical eventEntry which has a null target due to a browser bug. With these changes, we're able to correctly attribute the element receiving the interaction.

image

@rviscomi rviscomi merged commit 93a24b6 into main Jan 28, 2024
4 checks passed
@rviscomi rviscomi deleted the update-web-vitals branch January 28, 2024 01:57
@tunetheweb
Copy link
Member

Ha! I had the exact same change lined up! Was just havign trouble reproducing to confirm it worked.

However you are a few versions behind on web-vitals. We're on 1.5.2 now not 1.4.2. Suggested changing in #169

@rviscomi
Copy link
Member Author

Sure you're not confusing the library version with the extension version? 😁

@tunetheweb
Copy link
Member

Doh! I wondered why it didn't update automatically with dependabot!!!

Sorry!

@tunetheweb tunetheweb mentioned this pull request Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants