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.
2 parents dc6bbaa + 310dd31 commit 1f04181Copy full SHA for 1f04181
packages/widgets/src/docklayout.ts
@@ -346,7 +346,9 @@ export class DockLayout extends Layout {
346
this._root = Private.realizeAreaConfig(
347
mainConfig,
348
{
349
- createTabBar: () => this._createTabBar(),
+ // Ignoring optional `document` argument as we must reuse `this._document`
350
+ createTabBar: (document?: Document | ShadowRoot) =>
351
+ this._createTabBar(),
352
createHandle: () => this._createHandle()
353
},
354
this._document
0 commit comments