mirror of
https://github.com/status-im/react-navigation-stack.git
synced 2025-02-17 08:57:04 +00:00
Update StackViewLayout.js
This commit is contained in:
parent
7da0b8cc41
commit
6e13e684d3
@ -605,7 +605,7 @@ class StackViewLayout extends React.Component {
|
||||
const hasHeader = options.header !== null;
|
||||
const headerMode = this._getHeaderMode();
|
||||
let paddingTop = 0;
|
||||
if (hasHeader && headerMode === 'float') {
|
||||
if (hasHeader && headerMode === 'float' && !options.headerTransparent) {
|
||||
paddingTop = this.state.floatingHeaderHeight;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user