mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-12 22:30:36 +08:00
Default to not animating the header background but keep around the translation background interpolator
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user