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

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

Open MikePodgorniy opened this issue 7 months ago • 1 comments

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?

  • [X] I have tested this issue on the latest react-native-navigation release and it still reproduces.

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 avatar Nov 13 '23 15:11 MikePodgorniy

#7809 feat(constants): add navigationBarHeight to getConstants() fix?

MikePodgorniy avatar Nov 13 '23 15:11 MikePodgorniy