Notebook layout does not update if window resizes during its loading phase
This commit is contained in:
parent
ee46d06d0a
commit
730d323a7d
|
@ -204,7 +204,7 @@ export class NotebookEditor extends BaseEditor {
|
|||
return;
|
||||
}
|
||||
|
||||
if (this._input.resource?.toString() !== this._widget?.viewModel?.uri.toString()) {
|
||||
if (this._input.resource?.toString() !== this._widget?.viewModel?.uri.toString() && this._widget?.viewModel) {
|
||||
// input and widget mismatch
|
||||
// this happens when
|
||||
// 1. open document A, pin the document
|
||||
|
|
Loading…
Reference in a new issue