You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🐞 Clicking the branch picker for the first time shows no branches #1622
When the user opens a folder with a git repository with multiple branches, and clicks the branch picker in the toolbar under the title, only the current branch appears. Opening it subsequent times will show all of the branches.
To Reproduce
Open a folder with a git repository and multiple branches
Click the branch picker under the title in the toolbar
Notice that only the current branch is displayed in the menu and no other branches
Click away
Open the branch picker again
Notice that the other branches are now displayed.
Expected Behavior
All branches should show in the branch picker menu the first time it is opened.
I think the problem is that the list of branches comes asynchronously and for some reason the dropdown is not re-rendering when the data finally comes. I'm not sure how to address this problem though.
Activity
austincondiff commentedon Mar 14, 2024
@FezVrasta I know that you worked on this, would you mind taking a look at this one?
FezVrasta commentedon Mar 15, 2024
I think the problem is that the list of branches comes asynchronously and for some reason the dropdown is not re-rendering when the data finally comes. I'm not sure how to address this problem though.