Skip to content

Table renders incrementally during streaming causing broken/partial layout in screen reader mode #25218

@student-ankitpandit

Description

@student-ankitpandit

What happened?

While investigating the issue #24675, a separate streaming-related rendering bug was discovered. During streaming, tables are re-rendered on every chunk instead of waiting for the complete table output.

Image

This causes:

  • The top border ┌──┬──┐ to appear on the same line as [Model:]
  • The table growing row by row visually as chunks arrive
  • Multiple partial re-renders of the same table before it completes

What did you expect to happen?

The table should be held in a buffer until the full table is received (i.e. a non-table line or EOF is encountered), then rendered once completely.

Client information

Client Information

Run gemini to enter the interactive CLI, then run the /about command.

> /about
# paste output here

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/coreIssues related to User Interface, OS Support, Core Functionalityworkstream-rollupLabel used to tag epics and features that are associated with one of the three primary workstreams

    Type

    No fields configured for Bug.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions