Skip to content

Commit e16defc

Browse files
ssigwartJackson Kearl
andauthored
Fix search editor scrolled to bottom on first search when editor group changed. (microsoft#134693)
* Fix search editor scrolled to bottom on first search when editor group changed. * Await model write before setting scroll. Co-authored-by: Jackson Kearl <[email protected]>
1 parent 4935c64 commit e16defc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/searchEditor/browser/searchEditor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ export class SearchEditor extends BaseTextEditor<SearchEditorViewState> {
538538
});
539539

540540
const searchOperation = await startInput.ongoingSearchOperation;
541-
this.onSearchComplete(searchOperation, config, startInput);
541+
await this.onSearchComplete(searchOperation, config, startInput);
542542
}
543543

544544
private async onSearchComplete(searchOperation: ISearchComplete, startConfig: SearchConfiguration, startInput: SearchEditorInput) {

0 commit comments

Comments
 (0)