You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see in the reference below, if the v3 theme is used it uses theme surface color no matter what backgroundColor one passes through the barStyle prop.
Also the elevation should probably be adjustable. According to the NavigationBar Spec it should actually have a default elevation of 2 but it is currently hardcoded to 0:
Hey! Thanks for opening the issue. The issue doesn't seem to contain a link to a repro (a snack.expo.dev link or link to a GitHub repo under your username).
Can you provide a minimal repro which demonstrates the issue? A repro will help us debug the issue faster. Please try to keep the repro as small as possible and make sure that we can run it without additional setup.
Also the elevation should probably be adjustable. According to the NavigationBar Spec it should actually have a default elevation of 2 but it is currently hardcoded to 0:
In that case, the elevation prop applies background color and shadows, which in terms of BottomNavigation is hardcoded to 0, since there should be no shadow:
However, based on that information you provided and figma kit, the default background color should be theme.colors.elevation.level2, which I will correct in the next week along with passing custom bg color via barStyle
As you can see in the reference below, if the v3 theme is used it uses theme surface color no matter what backgroundColor one passes through the
barStyle
prop.The NavigationBar Guidelines says:
react-native-paper/src/components/BottomNavigation/BottomNavigation.tsx
Lines 602 to 605 in 6afa4fb
Also the elevation should probably be adjustable. According to the NavigationBar Spec it should actually have a default elevation of 2 but it is currently hardcoded to 0:
react-native-paper/src/components/BottomNavigation/BottomNavigation.tsx
Line 728 in 6afa4fb
One can barely see it in the example picture:
The text was updated successfully, but these errors were encountered: