Skip to content

[Bug]: Branch picker scroll resets while loading more refs #5849

Description

@a20hek

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

Steps to reproduce

  1. Open a project with 100+ branches
  2. Open the branch picker in the composer toolbar
  3. Scroll down till the end of list, and you'll see that the scrollbar resets after every 100 list items

Expected behavior

Scroll position stays put when the next 100 branches load

Actual behavior

Scroll down till the end of list, and you'll see that the scrollbar resets after every 100 list items

Impact

Minor bug or occasional failure

Version or commit

main @ 1a003e3

Environment

macOS, chrome

Logs or stack traces

Screenshots, recordings, or supporting files

CleanShot.2026-08-09.at.21.26.42.mp4

Workaround

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions