Skip to content

Version 3.6.0 (x64): Repository list - After updating to 3.6.0 the "scrolling" occasionally gets stuck #22387

Closed

Description

@r-heimann

The problem

After updating to 3.6.0 in noticed that scrolling in the Repository list (which includes over 40 non-GitHub Repositories) occasionally doesn't allow to scroll up or down and is kinda "sticky" to the current position. It seems to move a few inches up and down, but gets stuck in the original location after i stopped scrolling. This doesn't seem to happen every time, but i didn't experience this behaviour in the old version.

I unfortunatly cannot provide public screenshots or videos, but it seems to happen more often when my mouse is over the "other" repositories and not the "recent/GitHub" part of the list.

Release version

3.6.0

Operating system

Windows 11 25H2

Steps to reproduce the behavior

  1. Open GitHub Desktop
  2. Open the "Repository list"
  3. Use the mouse scroll button to scroll up or down the list

Log files

No response

Screenshots

No response

Additional context

No response

Activity

  1. sergiou87 commented on Jun 29, 2026

    @sergiou87
    Member

    Thanks for your report!!
    I cannot reproduce it… I wonder if it's related to one of these PRs:

    If the first one was the cause of this, you should've noticed it in v3.5.9

    Some ideas to pinpoint the issue:

    Thank you again for your patience 🙇‍♂️ 💖

  2. added
    more-info-needed
    on Jun 29, 2026
  3. peteski22 commented on Jun 29, 2026

    @peteski22
    Contributor

    Thanks @sergiou87! I dug into this and have a fix up in #22438 with a regression test.

    Reproduced on macOS Tahoe 26.5.1 (Apple Silicon), 3.6.0 and 3.6.1.

    I don't think it's #21992 or #22228 specifically — it's a bit more fundamental, which is probably why it's hard to reproduce. SectionList renders each group as its own nested react-virtualized Grid inside the outer scroll container. When a single group is taller than the visible foldout, react-virtualized gives that inner grid overflow-y: auto, so it becomes independently scrollable. The mouse wheel then scrolls the inner grid rather than the root container — and because the inner grid's scrollTop is controlled by the parent, it nudges a few pixels and snaps straight back. Selecting a repo re-renders the section grids and re-applies the controlled scrollTop, which is exactly why it "works for a moment" after a click.

    Repro recipe (the key is one group taller than the foldout):

    1. Have an account/org with enough repos that a single group is taller than the repository foldout (in my case the mozilla-ai org).
    2. Open the repository drop-down.
    3. Wheel-scroll with the pointer over that group's rows — it sticks/jerks. Over a short group or a group header it scrolls fine.

    You can see it directly in DevTools with the foldout open:

    [...document.querySelectorAll('.repository-list .ReactVirtualized__Grid')]
      .map((g,i) => ({ i, role: g.getAttribute('role'),
        scrollable: g.scrollHeight > g.clientHeight,
        overflowY: getComputedStyle(g).overflowY }))

    The tall group's grid shows role: "listbox", scrollable: true, overflowY: "auto" (often only a few px of range — hence the "jerk"); every other section is overflowY: "hidden".

    Fix (#22438): force the per-section grids to overflow: hidden so they're passive windows driven solely by the parent's scrollTop, leaving the root grid as the only scroll surface. Happy to record a video too if useful.

    (Investigation, repro and fix are mine — I paired through it with Claude Code, which helped draft this write-up.)

  4. r-heimann commented on Jun 30, 2026

    @r-heimann
    Author

    @peteski22 Thank you so much for taking the time to look at this, i'm glad i wasn't the only one who experienced this issues!

    @sergiou87 I'm not familiar with the GitHub Desktop PR CIs, do PRs publish build artifacts which i could use to test?

  5. removed
    more-info-needed
    on Jun 30, 2026
  6. peteski22 commented on Jun 30, 2026

    @peteski22
    Contributor

    I've recorded a short video of the issue on my MacOS machine to demonstrate it, with the fix in PR #22438 it goes away.

    https://youtu.be/NQdi1VDWoxc

  7. r-heimann commented on Jun 30, 2026

    @r-heimann
    Author

    The video shows exacly the behavior that i am experiencing, thank you.

  8. added
    bug
    help wanted
    priority-2
    and removed on Jun 30, 2026
  9. added a commit that references this issue on Jun 30, 2026
    6e4372f
  10. sergiou87 commented on Jul 1, 2026

    @sergiou87
    Member

    We just shipped 3.6.2 with the fix @peteski22 did (💖 🙇‍♂️ )

    @peteski22 @r-heimann @omnipitous @leftCoast could you hit About -> Check for updates and see if 3.6.2 fixes this issue for you? I cannot reproduce it anymore 🤞

  11. omnipitous commented on Jul 1, 2026

    @omnipitous

    @sergiou87 3.6.2 seems to have fixed it! I can't reproduce now, Thanks!

  12. peteski22 commented on Jul 1, 2026

    @peteski22
    Contributor

    @sergiou87 like @omnipitous also confirmed - fixed now! Thanks so much everyone.. yay ❤️

  13. leftCoast commented on Jul 1, 2026

    @leftCoast

    I can't grab 3.6.2 from my 3.6.1 (x64) version. I can grab the 3.6.3-beta (x64) one from the beta site.

    Check for updates button on the about screen just seems to up load something, then tells me to restart. But when I do, I'm back at 3.6.1 (x64) again.

  14. leftCoast commented on Jul 2, 2026

    @leftCoast

    Tested the 3.6.3 (x64).beta. It works there on my Mac.

  15. added a commit that references this issue on Aug 17, 2026
    f0dec51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bughelp wantedpriority-2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions