react-navigation icon indicating copy to clipboard operation
react-navigation copied to clipboard

Pass floatingHeaderHeight to screen for transparentHeader

Open driley-emoney opened this issue 7 years ago • 1 comments

If a transparent header is specified, then it is the screens job to add its own padding to be out of the way of the header. It would be great if react navigation provided those dimensions to the screen somehow so we don't have to calculate it ourself.

For instance, stack layout does it here:

https://github.com/react-navigation/stack/blob/93470b4be8ab76558eda635069248ce1a74fe1d8/src/views/StackView/StackViewLayout.js#L859

driley-emoney avatar Apr 30 '19 20:04 driley-emoney

Hello 👋, this issue has been open for more than 2 months with no activity on it. If the issue is still present in the latest version, please leave a comment within 7 days to keep it open, otherwise it will be closed automatically. If you found a solution on workaround for the issue, please comment here for others to find. If this issue is critical for you, please consider sending a pull request to fix the issue.

github-actions[bot] avatar Jan 13 '20 00:01 github-actions[bot]