Skip to content

pat-inject autoload-visible with IntersectionObserver #955

@thet

Description

@thet

We had a problem where items which were visible on the dashboard were not loaded due to pat-inject trigger:autoload-visible not kicking in, even if the items were in the viewport when loading.

They were immediately loaded after scrolling once.

We had a quickfix for this.
But this should be fixed in a way, that trigger: autoload-visible does the expected thing - loading items when they are in the viewport, even without scrolling. We should think of using the intersection observer for that where we can also define a margin for loading items in advance.

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