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
When I press a drawer menu item the background becomes dark gray. I want to change this color. I see in the docs that the DrawerItem component receives a prop called pressColor, but I didn't find a way to pass this prop. How can I change this pressColor prop to another color?
To test the behavior, just open the provided snack and do a long press on some drawer menu item. The background color is always dark gray.
Expected behavior
I should be able to change the pressColor to another color of my choice.
Hey! Thanks for opening the issue. The issue tracker is intended for only tracking bug reports. This helps us prioritize fixing bugs in the library. Seems you have a usage question or an issue unrelated to this library. Please ask the question on StackOverflow instead using the react-navigation label. You can also chat with other community members on Reactiflux Discord server in the #help-react-native channel.
If you believe that this is actually a bug in the library, please open a new issue and fill the issue template with relevant information.
Hey! This issue is closed and isn't watched by the core team. You are welcome to discuss the issue with others in this thread, but if you think this issue is still valid and needs to be tracked, please open a new issue with a repro.
Current behavior
When I press a drawer menu item the background becomes dark gray. I want to change this color. I see in the docs that the
DrawerItem
component receives a prop calledpressColor
, but I didn't find a way to pass this prop. How can I change thispressColor
prop to another color?To test the behavior, just open the provided snack and do a long press on some drawer menu item. The background color is always dark gray.
Expected behavior
I should be able to change the
pressColor
to another color of my choice.Reproduction
https://snack.expo.dev/@victorwpbastos/drawer-presscolor
Platform
Packages
Environment
The text was updated successfully, but these errors were encountered: