Skip to content

Sankey nodes jump on dragging #3563

Closed
Closed

Description

@alexcjohnson

When you drag a sankey node, on first mouse move it jumps vertically (or horizontally if the diagram is horizontal). Bug exists on master but not in the latest release 1.44.4
sankey-drag-jump
cc @antoinerg

Activity

  1. antoinerg commented on Feb 21, 2019

    @antoinerg
    Contributor

    Thank you @alexcjohnson for reporting this issue. It has to do with a change of coordinates that is done prior to running the force simulation on drag.

    However, I think I resolved this issue at some point. Did you run npm i before starting your devtools? I can't reproduce the issue on my machine right now.

  2. alexcjohnson commented on Feb 21, 2019

    @alexcjohnson
    CollaboratorAuthor

    I first saw this in the codepen you posted this morning https://codepen.io/antoinerg/pen/MLxjmB and then pulled master and npm i on my mac to confirm it wasn't just whatever branch that is. I see it on all my browsers - Chrome, FF, Safari.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething brokenregressionthis used to work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions