New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom drawer overlay color #1068
Comments
I haven't used it yet but does |
contentComponent is about internal drawer styles, not container |
Also see https://reactnavigation.org/docs/navigators/drawer#contentOptions-for-DrawerView.Items. If none of these is enough, please let me know your use case and proposed solution to it. |
@grabbou All those options are for customizing the red area, have you considered that @sergeylaptev may be talking about the opacity levels/color of the blue area that no react-navigation option covers? |
@dantman Exactly! I was asking about blue area on the screenshot above. Unfortunately, even drawer library which react-navigation uses doesn't support this customisation (e.g. iOS version) and has predefined '#000' colour with opacity. |
would also like to see this configurable, colour is okay just hoping to change the opacity from 0.7 to 0.5 ;) |
Any update on this? I also want to set the opacity to 1. |
+1 on this. Updates? |
+1 |
2 similar comments
+1 |
+1 |
+1. I want chang opacity |
please submit a pr or open a feature request and upvote! :) |
Shouldn't this issue still be open? I tracked this to the source, it's rather complicated...
For iOS ( For android, however... There's a native function (in the root Android component) called @brentvatne is there a way to call a function that's not explicitly exposed, using the RN api, using NativeModules or UIManager or something? It seems like it might be possible, since what's passed into android extends the native module, so the functions might still be available? Anyway, that would be cool, and allow a simple PR, otherwise a PR needs to be made to the RN core to allow this. Somebody posted an example of what it could look like on SO. |
this is a feature request, feature requests belong on http://reactnavigation.canny.io/ this issue tracker is for bugs |
sorry, the correct link is https://react-navigation.canny.io/ |
|
@Runtime007 Thanks mate |
@Runtime007 It's the real solution , thank you man |
@Runtime007 where is that config supposed to go in the context of |
const DrawerNavigation = createDrawerNavigator({ |
|
It is now in the official docs here: https://reactnavigation.org/docs/drawer-navigator/#options
|
Would be great to implement drawer styles customizations:)
The text was updated successfully, but these errors were encountered: