VictoryAnimation not updating state.
Bugs and Questions
Checklist
-
[x] This is not a
victory-nativespecific issue. (Issues that only appear invictory-nativeshould be opened here) -
[x] I have read through the FAQ and Guides before asking a question
-
[x] I am using the latest version of Victory
-
[x] I've searched open issues to make sure I'm not opening a duplicate issue
The Problem
I am using the VictoryAnimation in a component that switches the page display based on the user clicking on the either the graph or table tab button. The VictoryAnimation is used in the graph page and is working when the component initially mounts. However, when I switch to the table page and then back to the graph page, the VictoryAnimation state is not updating when data prop has changed. I don't know why the VictoryAnimation state is not updating. And the animationInfo.progress remains 0. Any advice to fix this issue would be greatly appreciated.

I thought I had the latest version, but I just updated to 35.3.5 and the issue is fixed.