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

[Feature request] - Controlling the threshold in the Visible variants?? #250

Open
dwaynobaggins opened this issue Feb 16, 2025 · 0 comments

Comments

@dwaynobaggins
Copy link

Hi,

This is a feature request 🥇

Can we add the functionality to the Visible variants (visible/visibleOnce) such that we can pass in a threshold (how much of the element as a percentage is intersecting the viewport) where (0 < n < 1) and that defines the moment the variant 'fires' , similar to how threshold works in useIntersectionObserver.

Much appreciated,
Dwayne

@dwaynobaggins dwaynobaggins changed the title feature: Controlling the threshold in the Visible variants?? [feature: Controlling the threshold in the Visible variants?? Feb 16, 2025
@dwaynobaggins dwaynobaggins changed the title [feature: Controlling the threshold in the Visible variants?? [Feature request] - Controlling the threshold in the Visible variants?? Feb 16, 2025
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

No branches or pull requests

1 participant