Skip to content

Conversation

@drcmda
Copy link
Contributor

@drcmda drcmda commented May 8, 2018

There is currently a bug in animated that is causing deeply nested side-effects.

This line will in some situations return a scientific number, which stringShapeRegex can't track, it thereby creates a wrong outputShape (for instance: [-7]) which causes trouble later on. Basically it starts adding Nan to the interpolated result, so output can look like this: 1-e7NaNNaNNaNNaNNaNNaNdeg - and it's adding up, blowing up memory.

I am not sure if the new regexp is covering all cases, but it fixed the problems i've had (an AnimatedValue visually stopped working).

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

Successfully merging this pull request may close these issues.

1 participant