Skip to content

Warning: NaN is an invalid value for the top css style property. #274

@CarlousF

Description

@CarlousF

Hi there,

I'm getting the following error after adding the first node to the diagram, and proceeding to select it:

Warning: 'NaN' is an invalid value for the 'top' css style property. in div in NodeWidget in div in NodeLayerWidget in div

After inspecting the HTML element in my browser, I can see that the "top" CSS property is not being set for the first node added to the diagram, as it is for subsequent nodes that I add to the diagram:

<div class="node srd-node srd-node--selected " data-nodeid="5070b2af-7155-4072-8738-61d3dbc9b2b0">

I am also unable to move the first node around.

I couldn't find a bug in my own code that could be causing this, so I wanted to see if this is an issue anyone else has encountered before?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions