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

[ReactNative] Navigator clean scenes popped with gesture #1346

Closed
wants to merge 1 commit into from
Closed

[ReactNative] Navigator clean scenes popped with gesture #1346

wants to merge 1 commit into from

Conversation

ericvicenti
Copy link
Contributor

Fixes #1252

Scenes dismissed/popped via a gesture were not being removed. This is probably a regression from an earlier refactor.

Test plan: log statements after scene focusing now reports that navigator.getCurrentRoutes().length lowers after gesture. Tested on UIExplorer Navigator example

@ericvicenti
Copy link
Contributor Author

@facebook-github-bot import

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 19, 2015
@facebook-github-bot
Copy link
Contributor

Thanks for importing. If you are an FB employee go to https://our.intern.facebook.com/intern/opensource/github/pull_request/989285021083565/int_phab to review.

@skevy
Copy link
Contributor

skevy commented May 19, 2015

@ericvicenti ran into this literally 1 hour ago. Already pulled this into my own fork. Thank you for fixing. 👍

ayushjainrksh pushed a commit to MLH-Fellowship/react-native that referenced this pull request Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

navigator.pop() doesn't remove the last route
4 participants