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

Upon any state change in my react app the arrows disappear. #146

Open
echosonusharma opened this issue Jun 30, 2022 · 7 comments
Open

Upon any state change in my react app the arrows disappear. #146

echosonusharma opened this issue Jun 30, 2022 · 7 comments

Comments

@echosonusharma
Copy link

echosonusharma commented Jun 30, 2022

Upon any state change in my react app the arrows disappear, like any state in the page. idk if other people have faced this issue with the package or may be I'm doing something wrong. I have simply added it exactly how its in the examples. I'm just showing connection between some cards.

@gokugen
Copy link

gokugen commented Jul 25, 2022

Same problem here

@makis-spy
Copy link

Mine just lose the starting point. flys of the top of the screen

@akash-vedparkash
Copy link

After filtering out the boxes and lines data , arrow flys to the top of the screen.

@Eliav2
Copy link
Owner

Eliav2 commented Dec 5, 2022

you have to make sure the source and target elements are always visible and to render the arrows conditionally.
could you please re-create simple example demonstrating the issue?

@yashjais
Copy link

yashjais commented Dec 9, 2022

Hey @Eliav2 .
I guess this issue is related to this one.
This is the code sandbox link for the issue.

@xchen0326
Copy link

Is this problem resolved? I face the same issue here.

@mikeazo
Copy link

mikeazo commented Feb 24, 2023

I'm having a similar problem. I am using tabs in my app, where updates on one tab can cause state changes that affect other tabs. When I stay on the same tab and do things, the arrows behave as expected. When I switch to a different tab and the arrows are no longer visible on the screen, if I make a state change in that tab, then switch back to the tab with the arrows, the arrows are gone. Any action on that tab that would cause a re-render does bring the arrows back. #169 could help solve this programmatically.

Is there something else I should be doing though?

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

8 participants