mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-11 14:04:49 -05:00
Trigger overflowing widget to reposition on notebook list scrolling (#238006)
This commit is contained in:
@@ -103,6 +103,7 @@ import { PreventDefaultContextMenuItemsContextKeyName } from '../../webview/brow
|
||||
import { NotebookAccessibilityProvider } from './notebookAccessibilityProvider.js';
|
||||
import { NotebookHorizontalTracker } from './viewParts/notebookHorizontalTracker.js';
|
||||
import { NotebookCellEditorPool } from './view/notebookCellEditorPool.js';
|
||||
import { InlineCompletionsController } from '../../../../editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js';
|
||||
|
||||
const $ = DOM.$;
|
||||
|
||||
@@ -2040,6 +2041,13 @@ export class NotebookEditorWidget extends Disposable implements INotebookEditorD
|
||||
CopyPasteController.get(editor)?.clearWidgets();
|
||||
}
|
||||
});
|
||||
|
||||
this._renderedEditors.forEach((editor, cell) => {
|
||||
const controller = InlineCompletionsController.get(editor);
|
||||
if (controller?.model.get()?.inlineEditState.get()) {
|
||||
editor.render(true);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private editorHasDomFocus(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user