civiccc / civiccc/react-waypoint

Page loaded below waypoint

Open
#253 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4k
Forks
206
PR merge metrics
No merged PRs in 30d

Description

Is there a way to detect if the page has been loaded below a waypoint? Basically let's say you have a waypoint that you reach as you scroll down. This triggers `onEnter` and `onLeave`, however if you have a page where you start below the waypoint, these won't get triggered. Is there a way to detect the current scroll position relative to the waypoint?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.