Skip to content

Settle lottie-player: wait for load, then seek to a configurable frame #78

Closed

Description

@tmashara

What
Settle JS-driven animations that the 0.7.0 first-frame freeze can't reach, starting with lottie-player:

  • wait for getLottie().isLoaded;
  • then stop() and seek(n);
  • make n configurable, because frame 0 is often blank.

A general freezeFrame option could cover other players later.

Why
The Lottie cover on a report page is empty at frame 0. Freezing there leaves nothing to compare, and masking hides the whole illustration. A hook doing stop(); seek(60) kept the cover compared and stable across loads.

Activity

  1. added
    enhancement
    on Oct 29, 2026
  2. added a commit that references this issue on Oct 29, 2026
    fb37d3d
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions