Comments (8)
Issue is here https://github.com/hoaphantn7604/react-native-curved-bottom-bar/blob/master/src/CurvedBottomBar/components/BottomBarViewExpo/index.tsx#L291 the options are not passed to the screen. Here's a fix <Tab.Screen options={e?.props?.options} key={e?.props?.name} name={e?.props?.name}>
from react-native-curved-bottom-bar.
add screenOptions={{ headerShown: false, }}
on CurvedBottomBar
this will fix the issue
from react-native-curved-bottom-bar.
I try to hide the header in CurvedBottomBar.Screen : options={{headerShown: false}} but it not working, I just downgraded version to 2.4.1 so it worked.
Use options={{headerShown: false}} in CurvedBottomBar.Navigator
from react-native-curved-bottom-bar.
In current v3.2.6 the issue still exists. For specific screen is there any way to hide the header???
from react-native-curved-bottom-bar.
I try to hide the header in CurvedBottomBar.Screen : options={{headerShown: false}} but it not working, I just downgraded version to 2.4.1 so it worked.
Use options={{headerShown: false}} in CurvedBottomBar.Navigator
But this will hide the header in all screens, which https://reactnavigation.org/docs/bottom-tab-navigator/ doesn't do.
from react-native-curved-bottom-bar.
Issue is here https://github.com/hoaphantn7604/react-native-curved-bottom-bar/blob/master/src/CurvedBottomBar/components/BottomBarViewExpo/index.tsx#L291 the options are not passed to the screen. Here's a fix
<Tab.Screen options={e?.props?.options} key={e?.props?.name} name={e?.props?.name}>
It would be nice if listener is also included on that line too
from react-native-curved-bottom-bar.
I try to hide the header in CurvedBottomBar.Screen : options={{headerShown: false}} but it not working, I just downgraded version to 2.4.1 so it worked.
screenOptions={
{
headerStatusBarHeight: -56,
} do this in screen option to hide header
from react-native-curved-bottom-bar.
@Usamaliaquat123 not sure if you understand the issue here, if you do that it hides the entire header. We don't want to hide the entire header but for some screens. Please read up the comments above.
from react-native-curved-bottom-bar.
Related Issues (20)
- react-native-curved-bottom-bar doesn't seem to be linked.make sure:
- react-native-curved-bottom-bar doesn't seem to be linked.make sure: HOT 7
- Support screen options HOT 7
- Perfomance when wrap bottom bar with Stack.Navigator HOT 8
- Lagging while clicking the tabs HOT 2
- Can we add borderColor and borderWidth to curved tab HOT 6
- Render all tabs at startup/mounting HOT 3
- Bottom padding to <CurvedBottomBar.Navigator /> component style HOT 1
- [Android] Shadow issue on Expo HOT 4
- Work with expo-router
- headerShown is false HOT 7
- i am trying to show component when user click on middle circle <Animated.view
- Dynamic changing of icon
- Border Width and Radius issue HOT 1
- custom curves HOT 1
- Navigating to stack with curved bottom bar shows white screen HOT 1
- strokeColor and strokeWidth issue on V3 HOT 1
- Curved Border colour and border width
- Support for expo router v2 with tabs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-curved-bottom-bar.