Screens inside a Native Stack that is inside another presentation: 'modal' Native Stack have the header height value from the useHeaderHeight() hook incorrect on iOS (double what it should be).
This type of nesting happens when I want to show a modal with a stack of screens inside.
Expected behavior
The useHeaderHeight() hook should return the correct value for the header height on this situation.
Current behavior
Screens inside a Native Stack that is inside another
presentation: 'modal'
Native Stack have the header height value from the useHeaderHeight() hook incorrect on iOS (double what it should be).This type of nesting happens when I want to show a modal with a stack of screens inside.
Expected behavior
The useHeaderHeight() hook should return the correct value for the header height on this situation.
Reproduction
https://snack.expo.dev/@sranthony/react-navigation-header-height-bug
Platform
Packages
Environment