ui-router icon indicating copy to clipboard operation
ui-router copied to clipboard

Navigating to an "orphaned" state from a sticky hierarchy clears the ui-view tree

Open what-is-a-crow opened this issue 8 years ago • 1 comments

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.

what-is-a-crow avatar Jan 25 '18 16:01 what-is-a-crow

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.

stale[bot] avatar Jan 24 '20 04:01 stale[bot]