argyleink / argyleink/ScrollSnapExplainers
paged snapping
- Dominant language
- No language data
- Stars
- 104
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
in addition to snapping to the next item, it'd be nice to snap to the next page. the browser would determine which items are in view and ensure this function scrolls past them, bringing in a new set of items that were previously out of view. this is hard to do today because you have to measure the scrollport then each item, use an intersection observer to know which are in view, then scroll a measured amount to the next set and scroll them to the start of the viewport. could be a simple api from a dev pov, letting the browser do the hard work performantly.
Contributor guide
No contributing guide indexed for this repository
Research direction
No files, tests, or entry points are named. Start by reviewing the requested page-snapping behavior and the current browser scroll-snap capabilities; done would mean defining a feasible API that lets the browser identify visible items and scroll to the next set efficiently.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100