Skip to content

Bug Report: CreationScreen Toolbar and targetState mismatch during HorizontalPager animation #15

@kez-lab

Description

@kez-lab

Describe the bug

In the CreationScreen's HorizontalPager, if the user interacts with the screen or toolbar before the page transition animation fully completes, the currently visible page and the page title displayed in the top Toolbar can become out of sync.
For example, the user may see the "Prompt" page, but the Toolbar still shows "Photo Upload", causing confusion.

To Reproduce

  1. Start a pager transition animation from the first page (e.g., "Photo Upload") to the second page (e.g., "Text Input")
  2. Before the animation completes, quickly tap/click the screen
  3. Result: The "Prompt" page is visible, but the Toolbar still displays "Photo"

Expected behavior

  • After the page transition animation completes, the Toolbar title should always match the currently visible page
  • Even if the user interacts rapidly during the animation, the Toolbar and the visible content should always be in sync

Screenshots / Logs

Screen_recording_20250522_213720.webm

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