Skip to content
This repository was archived by the owner on Nov 19, 2019. It is now read-only.
This repository was archived by the owner on Nov 19, 2019. It is now read-only.

Infinite redraw with different zooms #175

Description

@lewisjb

Describe the bug
When you are zoomed out, or in, the timeline keeps redrawing, increasing / decreasing by 1 or 2 pixels each redraw.

JSBin: https://output.jsbin.com/dawedivuse on zooms 125% and 75% (and probably others). If you can't reproduce it on those zooms, try others.

Expected behavior
The redrawing the stabilize.

Browser
Version 71.0.3578.98 (Official Build) (64-bit)

Additional context
I dug into it a bit, it seems to be because of offsetHeight being wrong at different zooms.
Here's a chromium bug report about it: https://bugs.chromium.org/p/chromium/issues/detail?id=608142
And here's another jsbin that just shows the offsetHeight issue, if you reload at different zooms you'll see it: https://jsbin.com/qegehiyini/edit?html,css,js,output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions