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
When you try to diff anything, searching through branches or anything else, it could randomly switch from your diff -> out of diff -> select reflog pane. Same could happen in branch view, it could switch you out from diff/remote branches -> commit pane -> reflog or something.
Everything is done in a split second.
I don't have a mouse4/mouse5 buttons physically, nor do I have some kind of macro or anything.
My layout is default one.
This happens randomly, especially this issue can occur 5 times in a row while trying to review.
I could not reproduce it with --debug run.
To Reproduce
Steps to reproduce the behavior:
Try diffing a large commit(s) in ether Branches or Commits panes
Switch to Commit pane
Enter commit or select multiple commits and press Enter
(I would Shift + > to the bottom most file first, but it don't seem to matter)
Just browsing files, checking them (Focus is not required, it can happen without it)
If you are lucky enough it will randomly switch panes
Also you can get it while scrolling through selected files in Files pane, it then could switch to the submodules pane randomly.
Expected behavior
Nothing should switch me between panes unless I use Arrow Keys/Mouse clicks.
Activity
all500234765 commentedon Oct 28, 2026
It just jumped from Commit Diff -> Reflog -> Local Branches.
and after I Alt+Tabbed back to lazygit it jumped Local Branches -> Tags -> Reflog.