Skip to content

bug(desktop): expanded tool-call headers float over the conversation #5157

Closed

Description

@liuxiaocs7

What happened

Expanding a tool-call group makes its group header and any opened call row sticky inside the conversation. While the reader scrolls the transcript, those rows detach from the tool activity and float over adjacent message content. The 8px top offset also leaves previous content partially visible above the pinned header.

Expected: expanded tool-call disclosures should remain in the transcript's normal document flow. The reasoning disclosure can keep its existing sticky behavior.

This is narrower than #4773: it fixes the current floating-header defect without adding a bounded internal activity scroller. It also differs from #3375, which changes the shared sticky offset to zero but keeps tool-call headers sticky.

How to reproduce

  1. Open a Desktop conversation containing a grouped run of tool calls.
  2. Expand the tool-call group.
  3. Optionally expand an individual call with detail.
  4. Scroll down through the expanded activity.
  5. Observe that the expanded header pins near the top of the transcript and visually floats over neighboring content.

The behavior is also reproducible in Storybook with Product/Tool Activity/Long Intent Group Narrow: after opening the group, the disclosure's computed style is position: sticky; top: 8px; z-index: 20.

Environment

  • Maka commit: 84255571b2
  • OS: macOS 15.7.3
  • Surface: Desktop
  • Node.js: v24.14.0

Logs, screenshots, or additional context

Root cause is the product CSS in apps/desktop/src/renderer/styles/chat-message.css, which applies the activity sticky treatment to both .maka-deep-thinking and .maka-tool-activity-card, then creates a second sticky tier for expanded call rows.

Removing the tool-call selectors leaves expanded tool activity in normal flow while preserving the reasoning header's existing sticky behavior.

Activity

  1. liuxiaocs7 commented on Sep 10, 2026

    @liuxiaocs7
    MemberAuthor

    take

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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