Skip to content

Getting updated img tags to respect loading="lazy" #264

Description

@anton-christensen

When updating an img tag outside the viewport with a new src attribute, if the image had already been loaded, it requests the new src image immediately instead of waiting till the element is visible in the viewport.

I expect this is because of some internal state of the node not being reset, and i realize it may not necessarily be relevant to morphdom...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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