mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-03-06 22:39:41 +08:00
Clean up when transitioner state when bailing out early
This commit is contained in:
@@ -124,7 +124,7 @@ class Transitioner extends React.Component {
|
||||
// This is important because the stack navigator fires the completion prop when
|
||||
// the transition is ended.
|
||||
if (!animations.length) {
|
||||
this.setState(nextState);
|
||||
this.setState(nextState, this._onTransitionEnd);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user