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

Victorie pie with animation gets stucked sometimes after refreshing page #2367

Closed
billysk87 opened this issue Jul 16, 2022 · 3 comments
Closed
Labels
Issue: Stale This issue is marked as stale and will close in 14 days Type: Bug 🐛 Oh no! A bug or unintentional behavior

Comments

@billysk87
Copy link

billysk87 commented Jul 16, 2022

I have a VictoryPie, that gets different data when some buttons get clicked. When i first land on the page everything works perfect. But when i refresh the page, i can see that sometimes when i push the buttons the pie remains the same or is shown as if an other button was pushed. The labels are shown correctly though. When I disable the animation it works correctly.

I am writing a nextJS project with versions:
"react": "18.2.0",
"victory": "^36.5.3"

@billysk87 billysk87 added the Type: Bug 🐛 Oh no! A bug or unintentional behavior label Jul 16, 2022
@clemwo
Copy link

clemwo commented Jan 8, 2024

I'm also on NextJS with react 18 and get similar issues.
I think it has to do with ReactDOM.createRoot. Please refer to my other comment.

Unfortunately I don't know how to fix these issues with NextJS as there is no way to access the index.js AFAIK

Copy link
Contributor

github-actions bot commented Apr 8, 2024

This issue is stale because it has been open for 90 days with no activity. If there is no activity in the next 7 days, the issue will be closed.

@github-actions github-actions bot added the Issue: Stale This issue is marked as stale and will close in 14 days label Apr 8, 2024
Copy link
Contributor

This issue was closed because it has been inactive for 7 days since being marked as stale. Please open a new issue if you believe you are encountering a related problem.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Stale This issue is marked as stale and will close in 14 days Type: Bug 🐛 Oh no! A bug or unintentional behavior
Projects
None yet
Development

No branches or pull requests

2 participants