Skip to content

Zoom is unstable at zoom limits #1367

Open
@TheophileMot

Description

@TheophileMot

When zooming in and out, I expect the timeline to remain centred on the same point; for example, if I zoom in a few steps using the mouse wheel, then zoom back out a few steps, I should be back where I started.

However, when the zoom hits the zoomMax or zoomMin limit, the timeline will noticeably shift. This means that after repeatedly zooming in and out, the timeline will drift off to one side or the other.

To reproduce: go to this zoom limit demo from the documentation and zoom in or out all the way repeatedly. (The bug is most apparent when the cursor is near the beginning or end of the timeline.)

In the clip below, the cursor doesn't move; therefore we expect that the two items should always be in the same place after zooming in and out again.

zoom demo

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