Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Pjaerr opened this issue Mar 31, 2024 · 0 comments

Comments

@Pjaerr
Copy link

Pjaerr commented Mar 31, 2024

👋 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant