Skip to content

[Bug]: Picking up a sidebar thread to reorder it starts the drag far below the pointer #27586

Closed

Description

@jbaehova

Before submitting

Area

apps/web

Steps to reproduce

  1. Open T3 Code (Beta) 0.1.5 on macOS with the default (non-boring, non-legacy) sidebar and Working section turned off.
  2. Have several threads in the Active list.
  3. Press on a thread row and start dragging it up or down to reorder it.
  4. This happens even with the sidebar scrolled all the way to the top, so it does not depend on the list's scroll offset.

Expected behavior

The lifted row stays under the pointer at the spot where it was picked up, and moves with the pointer from there.

Actual behavior

As soon as the drag starts, the lifted row (and the insertion gap) jumps a long way down the list, to roughly the middle of the Active list, well below the pointer. The drag then continues from that position. It happens with the sidebar scrolled to the very top as well. Reordering to a nearby spot means dragging all the way back up from the wrong place.

This makes manual ordering painful, and with Working turned off manual ordering is the only way to keep recent threads near the top (the Active list ignores "Last user message" there, see #21639).

Impact

Major degradation or frequent failure

Version or commit

T3 Code (Beta) 0.1.5 (6d450a4)

Environment

macOS 27.0.1 (26A434), desktop app. Sidebar settings: Working section off, boring sidebar off, legacy sidebar off, project grouping "repository".

Workaround

None found.

Activity

  1. jbaehova commented on Oct 31, 2026

    @jbaehova
    Author

    Related: #28165 (with the Working section off, manual drag is the only way to reorder the Active list, so this drag bug blocks the workaround there).

  2. ylcn91 commented on Nov 7, 2026

    @ylcn91
    Contributor

    Checked on current main (257e407), web dev app, Chromium 1280×800. Setup: 14 Codex threads so the sidebar overflows, Working section off, sidebar scrolled to the top. Press a row and move the pointer 12px down.

    main with #30346 and #27691 reverted main
    Sidebar scrollTop on drag start 0 → 438 0 → 0
    Lifted row translateY 450 12 (the pointer delta)
    Insertion gap near the bottom of the Active list under the pointer

    With the two fixes reverted, the list scrolls itself to the bottom as soon as the drag starts and the gap lands far below the pointer, which matches this report. On main the row stays under the pointer. Same result with the Working section on.

    This looks fixed by #30346 (the Settled drop hint scrolled itself into view on every drag start), with #27691 tightening autoscroll. Neither PR links this issue. @jbaehova, can you confirm on a build that includes them?

    Before (fixes reverted) vs after (main): lifted row and pointer, red dot = pointer

  3. jbaehova commented on Nov 7, 2026

    @jbaehova
    Author

    Confirmed fixed on a nightly build that includes #30346 and #27691: the dragged thread now stays under the pointer and the list no longer scrolls. Thanks for tracking this down. Closing.

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