Comments (4)
Yeah, unfortunately carousel's are problematic for LCP, and this is something we're actively looking into making better.
Right now we have an experimental implementation in Chrome 85 to not discard elements removed from the DOM, which should help most carousel cases, but we need to gather data on that first to make sure it doesn't have other unintended consequences.
I know "we're working on it" probably isn't the most satisfying answer, but it is the reality of the current situation.
For the perspective of this library, it's working as intended because it's just reporting what the underlying web API is reporting. And any changes we make to the web API to better handle carousel cases should not require any changes to this library.
from web-vitals.
hi @philipwalton thanks for the reply, please let us know if there was an update to this issue. LCP is a very important metric since its part of web vitals which will be a ranking factor for SEO in the future, i really hope we won't be penalized for using a carousel because our users seem to love that feature :) For testing purposes you can visit our production site https://www.pogo.com/
from web-vitals.
The latest update is it's looking like our experimental implementation to not ignore removed DOM elements was successful and will land, so LCP should be much more carousel-friendly in the near future (most likely in Chrome 88).
Since this issue doesn't require any changes to this library, I'm going to close this issue.
from web-vitals.
Thanks!
from web-vitals.
Related Issues (20)
- Interaction count estimate seems flaky HOT 2
- Playwright : document is not defined HOT 1
- Target in FID and INP is null HOT 15
- page.evaluate: ReferenceError: _webVitals is not defined in Playwright
- Consider escaping selectors HOT 5
- Metric Rating Thresholds not included in attribution builds HOT 1
- Cannot see logs in console HOT 1
- Attribution debug target is truncated HOT 1
- Attribution FID eventTarget is empty for SVG elements HOT 2
- All website open easily workout
- INP may be a bit extreme for content that has a slower reaction time by design HOT 6
- v3.3.2 throw error in IE9. HOT 3
- 3.3.2: type errors using attribution callbacks HOT 6
- INP attribution eventTarget is empty HOT 2
- unbind onCLS listeners HOT 6
- why does onCLS return non CLS metrics? HOT 5
- asynchronous loading from CDN HOT 2
- consider adding user-like code that can be type checked HOT 2
- LoAF attribution HOT 3
- Dot Image Added to Page HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web-vitals.