Skip to content

Round up document.documentElement.offsetHeight ?? #35

@golfecholima

Description

@golfecholima

In src/frames.js, I wonder if it would make sense to round up to the nearest whole pixel here:

function getDocumentHeight() {
	return document.documentElement.offsetHeight;
}

In LAT CMS at least it appears to be causing scroll bars (presumably because our CMS is rounding down??)

Surely there's some unintended consequence of doing this that I'm not thinking of ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions