We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c51b3d commit 8e4aae8Copy full SHA for 8e4aae8
src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.ts
@@ -236,7 +236,7 @@ class NotebookFindWidget extends SimpleFindReplaceWidget implements INotebookEdi
236
override async show(initialInput?: string, options?: IShowNotebookFindWidgetOptions): Promise<void> {
237
const searchStringUpdate = this._state.searchString !== initialInput;
238
super.show(initialInput, options);
239
- this._state.change({ searchString: initialInput ?? '', isRevealed: true }, false);
+ this._state.change({ searchString: initialInput ?? this._state.searchString, isRevealed: true }, false);
240
241
if (typeof options?.matchIndex === 'number') {
242
if (!this._findModel.findMatches.length) {
0 commit comments