Skip to content
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

Fix closing SideMenu when pushing a screen #4491

Merged
merged 2 commits into from
Dec 23, 2018
Merged

Conversation

guyca
Copy link
Collaborator

@guyca guyca commented Dec 23, 2018

When pushing a screen into a stack in the centre controller with sideMenu.left/right.visible: false - side menu was not closed as expected.
This happened because when either side menus is open, it’s considered the current child and when options are resolved. the centre controller’s options were ignored.

This commit fixes this issue on Android. When resolving options, the centre controllers options are resolved as well.
Related to #4267

guyca and others added 2 commits December 23, 2018 16:49
When pushing a screen into a stack in the centre controller with `sideMenu.left/right.visible: false` - side menu was not closed as expected.
This happened because when either side menus is open, it’s considered the current child and when options are resolved. the centre controller’s options were ignored.

This commit fixes this issue on Android. When resolving options, the centre controllers options are resolved as well.
Related to #4267
@guyca guyca merged commit dc739de into master Dec 23, 2018
@guyca guyca deleted the sideMenuToggleOnPush branch December 23, 2018 15:14
vshkl pushed a commit to vshkl/react-native-navigation that referenced this pull request Feb 5, 2020
When pushing a screen into a stack in the centre controller with `sideMenu.left/right.visible: false` - side menu was not closed as expected.
This happened because when either side menus is open, it’s considered the current child and when options are resolved. the centre controller’s options were ignored.

This commit fixes this issue on Android. When resolving options, the centre controllers options are resolved as well.
Related to wix#4267
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant