diff --git a/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.ts b/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.ts index a612c71bb431f..bde42dd0ea59a 100644 --- a/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.ts +++ b/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.ts @@ -357,7 +357,7 @@ async function webviewPreloads(ctx: PreloadContext) { } const activeElement = window.document.activeElement; if (activeElement?.tagName === 'INPUT' || activeElement?.tagName === 'TEXTAREA') { - e.preventDefault(); // We will handle selection in editor code. + // The input element will handle this. return; }