Skip to content

Commit

Permalink
fix(useElementVisibility): adjust threshold to 0 to fix visibility is…
Browse files Browse the repository at this point in the history
…sue with large element (#3308)
  • Loading branch information
erikkkwu committed Aug 25, 2023
1 parent 77a8627 commit 429edda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/useElementVisibility/index.ts
Expand Up @@ -30,6 +30,7 @@ export function useElementVisibility(
{
root: scrollTarget,
window,
threshold: 0,
},
)

Expand Down

0 comments on commit 429edda

Please sign in to comment.