Skip to content

feat(engine): wire stagger for container children #20

Description

@LeadcodeDev

Goal: stagger on flex/grid/container applies an incremental delay to children's animations — the schema field exists but is not connected to the animator.

Invariants: stagger of 0/absent keeps current behavior; works with presets and explicit animations.

Acceptance: a flex with stagger: 0.1 and 3 children fading in shows offsets 0/0.1/0.2s (frame-sampled test).

Files: crates/rustmotion-core/src/engine/animator.rs, box_builder.rs (stagger_offset already exists in PaintCtx — verify end-to-end).

Verify: cargo test --workspace

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