Skip to content

Incorrect email heights. #413

@e3ndr

Description

@e3ndr

Some emails have the incorrect height (Code responsible is here).

Browser is Opera 117.

Most emails are fine:

Image

However some, that are more image-heavy, are not.
You can see the difference between clientBoundingRect and scrollHeight in the JS console:

Image

Using the scroll height on this second case gives a correct result:

Image

Perhaps the solution is to set the height to the larger of the two values?

Here's a copy of the email, in-case you need it: email.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions