wix / react-native-navigation

A complete native navigation solution for React Native
https://wix.github.io/react-native-navigation/
MIT License
13.01k stars 2.68k forks source link

Navigation.constantsSync().bottomTabsHeight returns 0 if waitForRender: true #7813

Open MikePodgorniy opened 8 months ago

MikePodgorniy commented 8 months ago

What happened?

Navigation.constantsSync().bottomTabsHeight returns 0 if waitForRender: true In first render value = 0, after render tab value is correct p.s. Android works fine

What was the expected behaviour?

Navigation.constantsSync().bottomTabsHeight returns correct value if waitForRender: true

Was it tested on latest react-native-navigation?

Help us reproduce this issue!

No response

In what environment did this happen?

React Native Navigation version: "7.37.1" React Native version: "0.72.6" Has Fabric (React Native's new rendering system) enabled: (yes/no) no Node version: v16.14.0 Device model: simulator iOS version: 17.0

MikePodgorniy commented 8 months ago

7809 feat(constants): add navigationBarHeight to getConstants()

fix?