{"id":17772594,"url":"https://github.com/jamesplease/react-waypoint-issue-108-example","last_synced_at":"2025-04-01T15:21:07.657Z","repository":{"id":66133857,"uuid":"63659040","full_name":"jamesplease/react-waypoint-issue-108-example","owner":"jamesplease","description":"A repository for issue #108 in React Waypoint","archived":false,"fork":false,"pushed_at":"2016-07-19T22:17:12.000Z","size":496,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-07T09:41:56.195Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamesplease.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-19T03:59:52.000Z","updated_at":"2016-07-19T22:17:01.000Z","dependencies_parsed_at":"2023-04-12T10:38:28.498Z","dependency_job_id":null,"html_url":"https://github.com/jamesplease/react-waypoint-issue-108-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesplease%2Freact-waypoint-issue-108-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesplease%2Freact-waypoint-issue-108-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesplease%2Freact-waypoint-issue-108-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesplease%2Freact-waypoint-issue-108-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamesplease","download_url":"https://codeload.github.com/jamesplease/react-waypoint-issue-108-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246660081,"owners_count":20813338,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-26T21:39:55.970Z","updated_at":"2025-04-01T15:21:07.633Z","avatar_url":"https://github.com/jamesplease.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-waypoint-issue-108-example\n\nThis demonstrates [Issue #108](https://github.com/brigade/react-waypoint/issues/108) in React-Waypoint.\n\n### Try it out\n\n1. Clone this repository\n2. Run `npm install` from the root directory of the repo\n3. Open `index.html` in your browser\n4. Scroll around with the console open\n\n### What is the grey square?\n\nThe grey square represents the bottom 20% of the viewport. In this example, the `scrollableAncestor` is the window, meaning that the boundaries of React Waypoint will be the viewport boundaries.\n\nHowever, `topOffset` has been specified as 80%, meaning that the top boundary has been scooted down by that much. This means that only the bottom 80% of the viewport will be the area in which waypoints are considered \"inside,\" which will affect when the enter and leave events are triggered.\n\n### What should I be seeing?\n\n![React Waypoint 108 Example](https://cloud.githubusercontent.com/assets/2322305/16938759/0ea0c634-4d30-11e6-814a-1ca670384657.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesplease%2Freact-waypoint-issue-108-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamesplease%2Freact-waypoint-issue-108-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesplease%2Freact-waypoint-issue-108-example/lists"}