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 d948d37 commit cac2dcfCopy full SHA for cac2dcf
src/vs/workbench/contrib/notebook/browser/view/notebookCellList.ts
@@ -929,7 +929,7 @@ export class NotebookCellList extends WorkbenchList<CellViewModel> implements ID
929
// wait for the editor to be created if the cell is in editing mode
930
cell.getEditState() === CellEditState.Editing
931
// wait for the editor to be created if we are revealing the first line of the cell
932
- || revealType === CellRevealType.FirstLineIfOutsideViewport
+ || (revealType === CellRevealType.FirstLineIfOutsideViewport && cell.cellKind === CellKind.Code)
933
) && !cell.editorAttached) {
934
return getEditorAttachedPromise(cell);
935
}
0 commit comments