mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-13 23:44:09 +01:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user