We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
onCLS()
1 parent f33301f commit 83ce1b8Copy full SHA for 83ce1b8
packages/tracing/src/browser/web-vitals/getCLS.ts
@@ -61,6 +61,7 @@ export const onCLS = (onReport: ReportCallback, opts: ReportOpts = {}): void =>
61
// entry in the current session. Otherwise, start a new session.
62
if (
63
sessionValue &&
64
+ sessionEntries.length !== 0 &&
65
entry.startTime - lastSessionEntry.startTime < 1000 &&
66
entry.startTime - firstSessionEntry.startTime < 5000
67
) {
0 commit comments