From f28b44a57c3884a994ab78d05b54f5f4cda7ad0b Mon Sep 17 00:00:00 2001 From: Alex Ross <38270282+alexr00@users.noreply.github.com> Date: Fri, 3 Jul 2026 11:19:06 +0200 Subject: [PATCH] Fix unexpected layout and focus change when PR state changes --- src/view/reviewManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view/reviewManager.ts b/src/view/reviewManager.ts index 43cecd3d34..72b6245075 100644 --- a/src/view/reviewManager.ts +++ b/src/view/reviewManager.ts @@ -273,7 +273,7 @@ export class ReviewManager extends Disposable { if (!this._folderRepoManager.activePullRequest || shouldRefreshForActivePr) { const previousPrNumber = this._prNumber; const previousLastCommitSha = this._lastCommitSha; - await this.updateState(); + await this.updateState(true, false); hasDetectedChange = previousPrNumber !== this._prNumber || previousLastCommitSha !== this._lastCommitSha;