Skip to content

docs(http): document infinite-scroll/visible observer root semantics (scrollable ancestor vs viewport) #72

Description

@ErickXavier

Follow-up from no-js-dev/nojs#302 (shipped in nojs PR #310): all three IntersectionObservers of the get/pagination directives now use the nearest scrollable ancestor (overflow-y auto|scroll) as observer root, falling back to the viewport at document level; rootMargin/threshold are container-relative; a sentinel visible inside a not-yet-overflowing container still triggers a load (fill-until-overflow semantics). references/directives.md (http/pagination section) and any SKILL.md mention of get-trigger="scroll"/"visible" should document this behavior so generated code sets expectations correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions