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: skip ChildrenOutLetContexts destroy hook if outlet has been changed #38

Merged

Conversation

wSedlacek
Copy link

@wSedlacek wSedlacek commented Oct 7, 2021

PR Checklist

What is the current behavior?

The page-router-outlet will stop working if a call with clearHistory: true was invoked prior

What is the new behavior?

The page-router-outlet continues to work and respond to navigations even if clearHistory: true is called

fixes: #39

@cla-bot
Copy link

cla-bot bot commented Oct 7, 2021

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign the CLA at https://www.nativescript.org/cla.
CLA has not been signed by users: @wSedlacek.
After signing the CLA, you can ask me to recheck this PR by posting @cla-bot check as a comment to the PR.

@wSedlacek
Copy link
Author

@cla-bot check

@cla-bot
Copy link

cla-bot bot commented Oct 7, 2021

The cla-bot has been summoned, and re-checked this pull request!

@wSedlacek
Copy link
Author

Requires more testing on iOS.

@wSedlacek wSedlacek marked this pull request as ready for review December 17, 2021 08:54
@wSedlacek
Copy link
Author

@NathanWalker Do you have some apps we can test this change in?

@NathanWalker NathanWalker changed the base branch from main to fix/ng13-routing December 21, 2021 21:34
@NathanWalker NathanWalker merged commit c68ecb8 into NativeScript:fix/ng13-routing Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Named Outlet non responsive after clearHistory navigation
2 participants