christopherthielen / ui-router-extras

THIS PROJECT IS NO LONGER MAINTAINED -- Extras for UI-Router for AngularJS. Sticky States (a.k.a. parallel states), Deep State Redirect (for tab-like navigation), Future States (async state definition)
http://christopherthielen.github.io/ui-router-extras/
MIT License
917 stars 211 forks source link

Bug: Could not resolve 'null' from state #247

Open benjaminsuch opened 9 years ago

benjaminsuch commented 9 years ago

Hello,

when a user refreshes the site where a modal is shown (like in your example) and closes the modal, the previous state won't be displayed and the console throws the error:

Could not resolve 'null' from state 'modal1'

Steps to reproduce:

  1. Open the URL
  2. Open the console
  3. Close the modal
christopherthielen commented 9 years ago

Hi, what would you like it to do if there is no previous state?

benjaminsuch commented 9 years ago

We should find a way that the sticky states kept displaying.