Skip to content

Single-page example progress renders NaN% and the logs panel repeatedly dumps its entire history #1118

Description

@OskarEichler

The example ProgressBar divides 0 by numberOfPages-1, so the supported one-page state renders width NaN%. The LogsPanel also console.logs its full retained history during every render, duplicating the visible log list and adding per-scroll console work. Direct source-component diagnostics reproduce both. Proposed small example-only fix: use zero progress when there is no page-to-page span and remove the redundant render-time console dump. Existing multipage progress and the visible log list stay intact. This source audit is AI-assisted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions