SCM - fix input widget height on first render (#208017)

* Source Control - fix commit input height on first render

* Remove debug messaged
This commit is contained in:
Ladislau Szomoru
2024-03-18 16:00:23 +01:00
committed by GitHub
parent 19a78385c7
commit 010f4fc3cb
@@ -372,6 +372,9 @@ class InputRenderer implements ICompressibleTreeRenderer<ISCMInput, FuzzyScore,
}
}));
// Reset widget height so it's recalculated
templateData.inputWidgetHeight = InputRenderer.DEFAULT_HEIGHT;
// Rerender the element whenever the editor content height changes
const onDidChangeContentHeight = () => {
const contentHeight = templateData.inputWidget.getContentHeight();