mirror of
https://github.com/status-im/react-navigation-stack.git
synced 2025-01-14 08:36:08 +00:00
Force horizontal inset
This commit is contained in:
parent
0dd6f8f2c0
commit
91de665074
@ -601,7 +601,11 @@ class Header extends React.PureComponent {
|
||||
];
|
||||
|
||||
const { headerForceInset } = options;
|
||||
const forceInset = headerForceInset || { top: 'always', bottom: 'never' };
|
||||
const forceInset = headerForceInset || {
|
||||
top: 'always',
|
||||
bottom: 'never',
|
||||
horizontal: 'always',
|
||||
};
|
||||
|
||||
return (
|
||||
<Animated.View
|
||||
|
Loading…
x
Reference in New Issue
Block a user