Skip to content

Commit 66aa080

Browse files
authored
Scroll lock chat session editors (microsoft#264792)
fix microsoft#264602
1 parent 653a341 commit 66aa080

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/contrib/chat/browser/chatWidget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2191,7 +2191,7 @@ export class ChatWidget extends Disposable implements IChatWidget {
21912191

21922192
if (this.viewModel) {
21932193
this._onDidAcceptInput.fire();
2194-
this.scrollLock = !!checkModeOption(this.input.currentModeKind, this.viewOptions.autoScroll);
2194+
this.scrollLock = this.isLockedToCodingAgent || !!checkModeOption(this.input.currentModeKind, this.viewOptions.autoScroll);
21952195

21962196
const editorValue = this.getInput();
21972197
const requestId = this.chatAccessibilityService.acceptRequest();

0 commit comments

Comments
 (0)