Skip to content

Long DM threads between user and a Slack bot using the chat_stream API results in a jumpy chaotic UX #1407

@scosenza

Description

@scosenza

Reproducible in:

slack-bolt==1.27.0
slack-sdk==3.38.0
Python 3.12.x

Steps to reproduce:

I'm currently using the new Slack chat_stream API to create an internal Slack bot for Airbnb employees. The Slack bot is streaming back messages from AI agents including Claude Code

To repro this issue:

  1. Have long DM threads between user and a Slack bot sending back lots of streaming responses. In our case, we're using Claude Agent SDK using includePartialMessages=true
  2. Click latest message in Activity, which is a message on the bottom of a long thread. As soon as I try to scroll up, the UX jumps often times to the first message. Trying to scroll back to the bottom results in lots of jumping around, and the appearance of the text being streamed again, instead of showing the now fully rendered messages.

If you're unable to easily repro this, I'll need to create a generic long thread so I can capture a video without sharing internal details.

Expected result:

UX after messages are stream rendered should behave the same as if they were rendered all at once.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingserver-sideServer-sider issue with the Slack Platform or Slack API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions