mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-23 17:23:02 -05:00
fix connection dialog scroll issue (#12956)
This commit is contained in:
@@ -107,6 +107,10 @@ export class TabbedPanel extends Disposable {
|
||||
this._register(DOM.addDisposableListener(this.header, DOM.EventType.FOCUS, e => this.focusCurrentTab()));
|
||||
}
|
||||
|
||||
public get element(): HTMLElement {
|
||||
return this.parent;
|
||||
}
|
||||
|
||||
public dispose() {
|
||||
this.header.remove();
|
||||
this.tabList.remove();
|
||||
@@ -250,7 +254,8 @@ export class TabbedPanel extends Disposable {
|
||||
tab.tab.view.onShow();
|
||||
}
|
||||
if (this._currentDimensions) {
|
||||
this._layoutCurrentTab(new DOM.Dimension(this._currentDimensions.width, this._currentDimensions.height - this.headersize));
|
||||
const tabHeight = this._currentDimensions.height - (this._headerVisible ? this.headersize : 0);
|
||||
this._layoutCurrentTab(new DOM.Dimension(this._currentDimensions.width, tabHeight));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user