googlefonts / googlefonts/specimen-skeleton

Make intersectionobserver tight

Open
#49 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
51
Forks
7
PR merge metrics
No merged PRs in 30d

Description

https://github.com/kabisa/specimen-skeleton/blob/master/src/js/main.js#L101

Use `el.isIntersecting` instead of checking the ratio

Contributor guide

No contributing guide indexed for this repository

Research direction

Open src/js/main.js at line 101 and inspect the IntersectionObserver callback. Replace the ratio check with the requested isIntersecting check, then verify that the observer behavior still matches the surrounding logic.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Refactor
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.