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

The onExit method not executes when navigating away from Scene #2279

Closed
egunsoma opened this issue Aug 22, 2017 · 2 comments
Closed

The onExit method not executes when navigating away from Scene #2279

egunsoma opened this issue Aug 22, 2017 · 2 comments
Labels

Comments

@egunsoma
Copy link

In fact, it executes after 2 Actions.pop(). So let's we have the following stack:

A -> B -> C

and we have an onExit on Scene C, when we call Actions.pop(), we are at Scene B, but the onExit has't been executed yet. Then we call Actions.pop() again, and then, the onExit executes.

Anybody with similar issues?

@egunsoma
Copy link
Author

BTW onEnter works just fine.

@egunsoma
Copy link
Author

Furthermore, I have the same issue when using popTo instead of pop.

@aksonov aksonov added the bug label Aug 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants