Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Fix exception when number of children reduces in transition #344

Merged
merged 1 commit into from
Mar 27, 2018
Merged

Fix exception when number of children reduces in transition #344

merged 1 commit into from
Mar 27, 2018

Conversation

scan
Copy link
Contributor

@scan scan commented Mar 22, 2018

I have an animated <VictoryChart /> with a list of <VictoryGroup />s. When reducing the list of groups, I got an exception in this line, that next[idx] is null and therefore props are not accessible. This addition fixes the problem and returns the behaviour back to what's expected.

@boygirl
Copy link
Contributor

boygirl commented Mar 27, 2018

@scan thanks for this change. It will be released today

@boygirl boygirl merged commit 7c6affe into FormidableLabs:master Mar 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants