Skip to content

Commit

Permalink
Update threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
vivek-nexus committed Feb 19, 2025
1 parent 7630fce commit 9b762b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default function RootLayout({
}
})
}, {
threshold: 0.5 // The iframe needs to be at least 50% visible to trigger the callback
threshold: 1
})

// Start observing the iframe
Expand Down

0 comments on commit 9b762b9

Please sign in to comment.