Navigating to an "orphaned" state from a sticky hierarchy clears the ui-view tree
This is a (check one box):
- [X] Bug Report
- [ ] Feature Request
- [ ] General Query
My version of UI-Router is: 1.0.13 (everything 1.0.0+)
Bug Report
Current Behavior:
(Pre-1.0.0)
Given I have a sticky state hierarchy
And a state that lacks a parent (modal / flyout)
When I attempt to navigate to the "orphaned" state with reload: true
Then I see that the exited hierarchy (ui-views) are all destroyed
Expected Behavior:
Then I see that the exited hierarchy is preserved
Link to Plunker that reproduces the issue:
http://plnkr.co/edit/ZaZe2PkveaYEtLBBurTH?p=preview
Notes
I'm not sure in which library this change happened and am more than happy to close this issue and open it with the correct repository.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This does not mean that the issue is invalid. Valid issues may be reopened.
Thank you for your contributions.