Skip to content

Fix crash for interleaving animations + modernise dependencies#40

Open
alexander-stripe wants to merge 3 commits into
michaelvillar:masterfrom
alexander-stripe:master
Open

Fix crash for interleaving animations + modernise dependencies#40
alexander-stripe wants to merge 3 commits into
michaelvillar:masterfrom
alexander-stripe:master

Conversation

@alexander-stripe

Copy link
Copy Markdown

This PR:

  • Modernises all dependencies (couldn't get it to build on my machine with the existing ones)
  • Fixes a bug where calling dynamics.stop in complete for example with another interleaved animation in place caused a crash. Also added a test. This happens frequently when combined with react animations since the react lifecycle componentWillLeave(callback) will call componentWillUnmount once callback is called (synchronously) which usually should call dynamics.stop.

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