Skip to content

Moving a node and zoom in/out in NAD viewer with enableLevelOfDetail = true #241

@EstherDarkish

Description

@EstherDarkish

Describe the current behavior

In a NAD with enableLevelOfDetail = true, when dragging a node to move it, if we zoom or dezoom with the mouse wheel while dragging the node, parts of the node are disconnected.

Image

Describe the expected behavior

The node should stay constant while moving it, regardless of zoom change.

Describe the steps

In the NAD viewer, with enableLevelOfDetail = true :

  • Left click mouse on a node to move it, keep the button down.
  • Use the mouse wheel to zoom or dezoom.
  • The node's links are now separated from the node and moving the mouse do not move the node anymore.

Environment

Tested on Firefox, Edge
Since commit 4ef850c

Relevant Log Output

No response

Extra Information

I tested this behavior on multiple commits to find when it began, and it is caused by commit 4ef850c
PR : #179

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions