diff --git a/internal_packages/message-list/lib/email-frame.jsx b/internal_packages/message-list/lib/email-frame.jsx index 3ecded969..0e367e5ec 100644 --- a/internal_packages/message-list/lib/email-frame.jsx +++ b/internal_packages/message-list/lib/email-frame.jsx @@ -112,7 +112,7 @@ export default class EmailFrame extends React.Component { } } - if (doc && doc.documentElement) { + if (doc && doc.documentElement && doc.documentElement.scrollHeight > 0) { height = doc.documentElement.scrollHeight; } else { height = doc.body.scrollHeight;