Skip to content

paged snapping #24

@argyleink

Description

@argyleink

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions