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

Possibly a duplicate regarding flexDirection: row #199

Open
Fiattarone opened this issue Dec 26, 2023 · 2 comments
Open

Possibly a duplicate regarding flexDirection: row #199

Fiattarone opened this issue Dec 26, 2023 · 2 comments

Comments

@Fiattarone
Copy link

Not sure if the above is even what is causing this, but the following:

targetId: childId, targetAnchor: 'left' as const, sourceAnchor: 'right' as const

gives the attached format when dealing with trees using flexDirection: row

image

Going to redirect my tree to go top down and see if this works any better...

@Fiattarone
Copy link
Author

Fiattarone commented Dec 26, 2023

eh, not much better when I flip it...

image

I'm rendering the nodes from a JSON, then forcing a rerender once all nodes are mounted to the DOM. Let me know if I can provide anything else that might help or if I'm doing something obviously substandard

all arrows appear to be hitting the bottom/far right of the div from my understanding

@pierpo
Copy link
Owner

pierpo commented Jan 2, 2024

Hello!

Thank you for the screenshots. I tried to understand but I'm not sure I get what caused the issue.
Could you share a little codesandbox with the repro example? That would be super helpful :)

Thanks!

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

2 participants