Skip to content

Moving child nodes with keyboard does not work due to nodes being moved by absolute position instead of relative positionΒ #2

@Pjaerr

Description

@Pjaerr

πŸ‘‹ I've just been playing with this example and I noticed that the default keyboard accessible controls built into ReactFlow aren't working as expected here due to the parent - child node relationship. If you try and move child nodes with the keyboard, the just move up and to the left. It looks like this is as if they are being moved like position = positionAbsolute + movementSpeed but due to them being child nodes, position is relative, not absolute.

Is this an issue worth filing in the main ReactFlow repo? I couldn't easily recreate on any of the official example sandboxes so thought it was worth raising here first.

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