diff --git a/frontend/app/components/dropdown/dropdown.tsx b/frontend/app/components/dropdown/dropdown.tsx index 17872368..36406bc6 100644 --- a/frontend/app/components/dropdown/dropdown.tsx +++ b/frontend/app/components/dropdown/dropdown.tsx @@ -106,7 +106,7 @@ export default class Dropdown extends Component { __onClose() { window.clearInterval(this.checkInterval); if (this.storedDocumentHeightSet) { - document.body.style.minHeight = this.storedDocumentHeight; + document.body.style.minHeight = typeof this.storedDocumentHeight === 'string' ? this.storedDocumentHeight : ''; } }