diff --git a/src/components/features/settings/SettingsModal.ts b/src/components/features/settings/SettingsModal.ts index feb1b97c..44dacefd 100644 --- a/src/components/features/settings/SettingsModal.ts +++ b/src/components/features/settings/SettingsModal.ts @@ -1016,7 +1016,7 @@ export class SettingsModal extends Modal { ".vertical-tab-header-group", ); groups.forEach((group: HTMLElement) => { - group.style.display = ""; + group.show(); }); } diff --git a/src/components/features/task/view/InlineEditor.ts b/src/components/features/task/view/InlineEditor.ts index 94b66a71..10e3d257 100644 --- a/src/components/features/task/view/InlineEditor.ts +++ b/src/components/features/task/view/InlineEditor.ts @@ -991,7 +991,7 @@ export class InlineEditor extends Component { private autoResizeTextarea(textarea: HTMLTextAreaElement): void { // Clear the inline height so `.inline-content-editor { height: auto }` // applies while measuring - textarea.style.height = ""; + textarea.style.removeProperty("height"); textarea.style.height = textarea.scrollHeight + "px"; }