victory icon indicating copy to clipboard operation
victory copied to clipboard

Victorie pie with animation gets stucked sometimes after refreshing page

Open billysk87 opened this issue 1 year ago • 1 comments

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 avatar Jul 16 '22 18:07 billysk87

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

clemwo avatar Jan 08 '24 09:01 clemwo

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[bot] avatar Apr 08 '24 00:04 github-actions[bot]

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[bot] avatar Apr 15 '24 02:04 github-actions[bot]