Skip to content

Stop skeleton pulse on image load #69

Description

@MaggieAppleton

Parent PRD

#56

What to build

BasicImage.astro:122 runs pulse 2s ... infinite for the loading skeleton, but the animation never stops — it just gets visually hidden behind the loaded image and continues consuming a paint cycle. Per PRD §2.10, attach a load handler and remove the pulse animation when the image finishes loading.

Acceptance criteria

  • Pulse animation stops on the image's load event (not just visually hidden)
  • Verifiable in DevTools: no active animation on ::before after image loads
  • Skeleton still pulses correctly during slow image loads

Blocked by

None - can start immediately

User stories addressed

  • PRD §2.10 (continuous infinite animation never stops)

Metadata

Metadata

Assignees

No one assigned

    Labels

    doneImplemented; PR opened

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions