Skip to content

Signature pad incremental path sync #53

@karim-semmoud

Description

@karim-semmoud

Problem

assets/components/signature-pad.ts clears segment.innerHTML and recreates every path on each syncPaths() call (lines 57-73)

Proposed fix

Diff by path index / data attribute; reuse nodes; only append/update/remove deltas. Add tests in assets/test/component/signature-pad.test.ts (create if missing).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions