Default to not animating the header background but keep around the translation background interpolator

This commit is contained in:
Brent Vatne
2018-08-22 17:08:36 -07:00
parent 2c499d3d99
commit 9f278db3d9
2 changed files with 10 additions and 1 deletions

View File

@@ -151,6 +151,7 @@ class StackViewLayout extends React.Component {
headerLeftInterpolator,
headerTitleInterpolator,
headerRightInterpolator,
headerBackgroundInterpolator,
} = this._getTransitionConfig();
const { transitionProps, ...passProps } = this.props;
@@ -168,6 +169,7 @@ class StackViewLayout extends React.Component {
leftInterpolator: headerLeftInterpolator,
titleInterpolator: headerTitleInterpolator,
rightInterpolator: headerRightInterpolator,
backgroundInterpolator: headerBackgroundInterpolator,
})}
</NavigationProvider>
);