File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/vs/workbench/contrib/notebook/browser Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -409,6 +409,7 @@ export class NotebookEditorWidget extends Disposable implements INotebookEditorD
409
409
this . _overlayContainer . id = `notebook-${ id } ` ;
410
410
this . _overlayContainer . className = 'notebookOverlay' ;
411
411
this . _overlayContainer . classList . add ( 'notebook-editor' ) ;
412
+ this . _overlayContainer . inert = true ;
412
413
this . _overlayContainer . style . visibility = 'hidden' ;
413
414
414
415
container . appendChild ( this . _overlayContainer ) ;
@@ -1839,6 +1840,7 @@ export class NotebookEditorWidget extends Disposable implements INotebookEditorD
1839
1840
this . _list . updateOptions ( { paddingBottom : this . _allowScrollBeyondLastLine ( ) ? Math . max ( 0 , ( newCellListHeight - 50 ) ) : 0 , paddingTop : 0 } ) ;
1840
1841
}
1841
1842
1843
+ this . _overlayContainer . inert = false ;
1842
1844
this . _overlayContainer . style . visibility = 'visible' ;
1843
1845
this . _overlayContainer . style . display = 'block' ;
1844
1846
this . _overlayContainer . style . position = 'absolute' ;
@@ -1968,6 +1970,7 @@ export class NotebookEditorWidget extends Disposable implements INotebookEditorD
1968
1970
onWillHide ( ) {
1969
1971
this . _isVisible = false ;
1970
1972
this . _editorFocus . set ( false ) ;
1973
+ this . _overlayContainer . inert = true ;
1971
1974
this . _overlayContainer . style . visibility = 'hidden' ;
1972
1975
this . _overlayContainer . style . left = '-50000px' ;
1973
1976
this . _notebookTopToolbarContainer . style . display = 'none' ;
You can’t perform that action at this time.
0 commit comments