Questions tagged [react-native-drawer]

64 questions
0
votes
1 answer

How to customize drawer navigator in react native drawer?

I am creating a drawer navigation for my react native app but can't seem to customize the drawer. Tried following the documentation and other examples but they all bring up errors. I need to change the text size and colour and also add a profile…
0
votes
1 answer

How avoid Screen name from Drawer react native navigation drawer without clickable button

I'm trying to remove a item from the Navigation Drawer. I got that solution but the problem when i open drawer after my labels there is a long blank space and it is scrollable. here my code
0
votes
1 answer

React Native Drawer exit button

i'm making an app, and i need to add a way to log out and to exit the app. my structure is like this: and my Drawer name "Home", looks like this:
0
votes
0 answers

React Native Drawer Navigation not showing on each page

I am very new to React Native and this is the reason why I need your help now. I try to create an app with a normal Sidemenu (Burgermenu) which should apear on ech page. And I have a Bottom tab bar which should appear on 3 pages. The problem is,…
0
votes
1 answer

React native custom drawer opening button creation

I am currently learing react native. I want to use custom button for open drawer. Tried many codes and not working.
0
votes
1 answer

react-native-reanimated & react-navigation/drawer dependency error

I'm into a problem that I have already asked the discussions tab in the react-native-reanimated GitHub repository: this is the link in the github repo I have cloned a react-native project and tried to install npm packages using npm install, but I…
0
votes
1 answer

How to open drawer in react native using navigation.openDrawer()

I wanted to create a burger icon to open drawer but has been unable to do so. I have included the icon button on the right of my header. Whenever I click it to open the drawer, it shows the error of undefined function. I have mentioned the error…
0
votes
0 answers

Getting error in Latest version of React-native-reanimated -- TurboModuleRegistry.getEnforcing(...)

I am am trying to create Drawer-navigation in my application. for that that i am using "react-navigation-drawer" library but it has dependency of "react-native-reanimated" I have installed "react-native-reanimated^2.0.0" and run the project than it…
0
votes
0 answers

React Native - How to set the drawer navigation content on the particular tab based on drawer item selection?

What i want to achieve is there are 2 tabs in my app 1) Home => On press it shows a simple screen 2) Menu => On press it opens and close drawer based on whether drawer is opened or not. Drawer has custom content. It has 4 buttons 1) Accounts 2)…
0
votes
2 answers

Drawer not navigating to next screen in React Native Navigation 5

I am using react native drawer with navigation 5, I have created a drawer but from the drawer when I click some of option to navigate to next screen it gives me error like "Undefined is not object.. this.props" and when I define prop on top like…
0
votes
1 answer

react-native: drawer is not opening

I am new to react-native and i am trying to add drawer to my app. I am sharing my code with you. export default class Dashboard extends React.Component { constructor(props){ super(props); this.state = { } } closeControlPanel = () =>…
Chandler Bing
  • 293
  • 4
  • 18
0
votes
1 answer

Dynamic height for react native rn_bottom_drawer

I am using rn-bottom-drawer for drawer implementation for my app. I tried several ways like PixelRatio, ModerateScale, If-else for range of screen height but i am unsuccessful in setting such a containerHeight that it works perfectly with all device…
0
votes
1 answer

Drawer is not closing at first time click when using navigation.setParams in ComponentDidMount

when I'm trying to navigate to the Screen using Drawer. after clicking on the Drawer Label. it's navigating me to the screen but the Drawer is not closing. but when I'm clicking again on Drawer it's closing. I think it's happing when I'm using…
0
votes
1 answer

Stack navigation and Drawer navigation in React Native

In my app, I have buttons navigate to other screens and I have a drawer have buttons as well, I did the drawer and it works fine and also did stack navigation and also works fine, but in my app.js when I define one of them (drawer or stack) the…
0
votes
1 answer

typescript drawer initialRoute

I'm trying to combine react-native, react-navigation-drawer, and typecsript and have this error: TypeError: null is not an object (evaluating '_ReanimatedModule.default.configureProps') Searching around, I feel like the problem might be that…
wz2b
  • 1,017
  • 7
  • 24