-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Actions.push with params not working with Drawer #2843
Comments
Any news? |
same problem |
Same problem. Anyone find a solution? |
Please try to reproduce it with Example project and latest version 4.0.0-beta.40. Feel free to open if the issue still exists |
It works for me! This is my code: <Router>
<Stack key="root">
<Lightbox key="lightbox">
<Drawer
hideNavBar
key="drawer"
contentComponent={MenuContent}
drawerIcon={IconMenuBtn}
backButtonImage={MenuBackIcon}
drawerWidth={300}
initial
>
{/* My Team navigation */}
<Scene key="team_nav">
<Scene
key="my_team"
component={MyTeam}
title={genericLocalizedString.lblIlMioTeam}
/>
<Scene
key="show_player_from_team"
component={ProfileUser}
title={genericLocalizedString.lblAggiungiGiocatore}
back
/>
</Scene>
</Drawer>
</Lightbox>
</Stack>
</Router> |
hey @matteocollina - I am having a similar problem right now and I know this post is very old, I was curious what you meant by your solution. When you said "and then I can pass data to "show_player_from_team" with " Are you making 2 Action calls to pass data to "show_player_from_team" ? |
@alittletf with my version I can transfer data from one scene to another ({player: player}).
|
@matteocollina what versions are you on for: React-native-router-flux: Thank you so much in advance! |
@alittletf |
Hey guys - I am having troubles to have my environment back to work since I have stopped with |
@aksonov if possible - could you email me or send me a couple of instructions about the new version or procedure changes in my absent? thank you. |
Hi, welcome back!
If you are about RNRF 4.1.0-beta.x install - nothing is changed except react-native-gesture-handler (required by react-navigation 3.x)
… On 29 Mar 2019, at 14:05, Davis Z. Cabral ***@***.***> wrote:
@aksonov <https://github.com/aksonov> if possible - could you email me or send me a couple of instructions about the new version or procedure changes in my absent? thank you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#2843 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ABQpcbexyfSEZknia8yLfzcOe2MK_KRAks5vbg-vgaJpZM4RybXJ>.
|
Version
Tell us which versions you are using:
Expected behaviour
Actions.push('scene', { back: true }); shows a back button when the scene is pushed onto the stack and displayed
Actual behaviour
Scene is pushed on to the stack but no back button is displayed
Steps to reproduce
This is my router definition:
And within the SideMenu component I call
Actions.push('brandlist', { back: true, title: 'Select Something' });
The scene is correctly loaded but I can't change any params, such as add back button or change title.
Seems like this should work according to the docs but it doesn't ?
The text was updated successfully, but these errors were encountered: