Skip to content

Commit

Permalink
v2.0.5 - allow disabling of enter/leave animations
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Comeau committed Apr 12, 2016
1 parent b1443eb commit 0421349
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/react-flip-move.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ return /******/ (function(modules) { // webpackBootstrap
return key === child.key;
});

if (!isLeaving) return;
if (!isLeaving || !_this3.props.leaveAnimation) return;

var nextChild = _extends({}, child, { leaving: true });
var nextChildIndex = index + numOfChildrenLeaving;
Expand Down
Loading

0 comments on commit 0421349

Please sign in to comment.