onChange only fired on intersection not percentage
sbuys opened this issue · comments
Sebastian Buys commented
Any gotchas that aren't in the readme?
Sebastian Buys commented
Figured it out. Occurs when document height is less than body.
Monitor the scroll percentage of a component inside the viewport, using the IntersectionObserver API
sbuys opened this issue · comments
Any gotchas that aren't in the readme?
Figured it out. Occurs when document height is less than body.