Replies: 1 comment 1 reply
-
Facing the same problem here. Did you find a way to get the height? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I can get headerHeight using:
and bottomTabBarHeight using:
but there doesn't seem to be a way to get topTabBarHeight from @react-navigation/material-top-tabs.
Is there an alternative way to calculate this since no hook is provided?
Basically, I am trying to figure out the total height used up by various navigation-related tabs and headers to set the keyboardVerticalOffset of KeyboardAvoidingView. If I only have a header and/or bottom tabs, the height is easy to get, but as soon as I have top tabs it becomes a lot more complicated.
Beta Was this translation helpful? Give feedback.
All reactions