Skip to content

updatePolyfill is called immediately after init for all images #1005

Description

@donmario1208-boop

After the first call to lazySizes.init(), the following chain runs right away: init → loader._ → checkElements → unveilElement → (rAFIt) lazyUnveil → updatePolyfill

updatePolyfill is being invoked immediately for all images on the page.
Please help me understand why it triggers right after initialization (even before any user interaction) and whether this is expected behavior.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions