question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

warning drawer router flux

See original GitHub issue

hi, warning:

Setting DrawerLayoutAndroid drawerPosition using DrawerLayoutAndroid.positions is deprecated. Instead pass the string value “left” or “right”

I used the code below but show warning top

<Drawer
              key="drawer"
              contentComponent={DrawerContent}
              drawerPosition="right">
<Scene ....
<Scene ....
</Drawer>

please help to me

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:9

github_iconTop GitHub Comments

11reactions
fekajincommented, Oct 16, 2019

same thing happend just after RN upgrade. i’m also waiting for solution.

in case you can disable warning just add

YellowBox.ignoreWarnings([ 'DrawerLayoutAndroid drawerPosition' , ]); ss

this code at your index.js file.

2reactions
AustinZunigacommented, Nov 29, 2019

no fix yet?

there is a fix for that but its on rnrf beta version (4.1.0-beta.2) .

before install that you must install this dependencies : yarn add react-native-reanimated react-native-gesture-handler react-native-screens@^1.0.0-alpha.23 (just copy-paste) for react navigation 4.x : https://reactnavigation.org/docs/en/getting-started.html

thank you

Read more comments on GitHub >

github_iconTop Results From Across the Web

how to hide drawer in react router flux? - Stack Overflow
hey there i am working with react native project and i am using react router flux for navigation and i use Drawer so...
Read more >
aksonov/react-native-router-flux - Gitter
Hey guys - just joined - I'm working on routing in my RN app using router-flux and I can't seem to get my...
Read more >
react-native-router-flux | Yarn - Package Manager
Invariant Violation: View config not found for name RNSVGRect #3099; Drawer's default scene Reloads Twice #3096; [mobx] Warning: there are multiple mobx ...
Read more >
react-native-router-flux - npm package - Snyk
Learn more about react-native-router-flux: package health score, ... to Snyk to stay up to date on security alerts and receive automatic fix pull...
Read more >
react-native-router-flux - npm
Drawer support (react; 'Lightbox' support (used by popups like Error alert within Example project). Breaking changes (comparing to v3):. No ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found