civiccc / civiccc/react-waypoint

Fire a function on scroll down/up

Open
#271 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4k
Forks
206
PR merge metrics
No merged PRs in 30d

Description

Hey! I am really enjoying react-waypoint and would be very eager to know if there is a possibility to fire a function not when the Waypoint component enters viewport but rather when the page is scrolled iteself. I intentd to use it for hiding/showing navigation header on scroll. Thanks!

Contributor guide

Open the contributing guide

Research direction

Review the Waypoint component and its current viewport-entry behavior first. A complete resolution would need a settled API and tests showing callbacks for page scroll down and up, but the issue names no files or existing tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.