Skip to content

Commit

Permalink
Merge pull request #110 from akiran/flicker-issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JedWatson committed Apr 23, 2016
2 parents a98266e + ab54045 commit 1078c4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/ViewManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ var ViewManager = React.createClass({
var transitionDurationEnter = 10;
var transitionDurationLeave = 340;
} else {
var transitionDurationEnter = 500;
var transitionDurationLeave = 500;
var transitionDurationEnter = this.state.options.transition === 'instant'? 50: 500;
var transitionDurationLeave = this.state.options.transition === 'instant'? 50: 500;
}
}
return (
Expand Down

0 comments on commit 1078c4d

Please sign in to comment.