Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
MikePodgorniy opened this issue Nov 13, 2023 · 1 comment
Open
1 task done

Comments

@MikePodgorniy
Copy link

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?

  • 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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant