Skip to content

[Bug]: Scroll-to-bottom pill never appears after scrolling up over an inline HTML render (0.1.9) #37716

Open

Description

@grahamfarrar

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Summary

After scrolling up in a thread whose latest replies include tall inline html_render pages, the "Scroll to bottom" pill never appears, even when the view is several screens above the end. Possibly a leftover from #17056 / #17065: that fix stops the snap-back by detecting upward movement on the host scroll container, but the pill still stays hidden here.

In the 0.1.9 bundle, onIsAtEndChange(false) hides the pill and returns early while the follow mode is still following, so the pill can only show once something has moved the mode out of following. If that detection misses a scroll made with the pointer over the iframe, the view sits mid-thread with no pill.

Steps to reproduce

  1. On the macOS desktop app, open a thread whose recent assistant replies include an inline html_render page taller than the viewport (a diagram page, fitted to its content).
  2. With the pointer over the rendered page, scroll up several screens with the trackpad.
  3. Stop with the render still filling the viewport.

Expected behavior

The "Scroll to bottom" pill appears above the composer once the view has left the end.

Actual behavior

No pill. The view stays where it was scrolled, with the render behind the composer and no way back to the end except scrolling down by hand or sending a message.

I haven't isolated which input event triggers it, and I haven't confirmed whether scrolling once over plain chat text brings the pill back.

Impact

Minor: there's an easy workaround, but it's confusing on long threads.

Version or commit

0.1.9 (desktop, Beta channel)

Environment

macOS 27.2, Apple Silicon, built-in trackpad. Claude agent thread.

Activity

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

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