This app has a total of 5 states, 2 of which are abstract:
- Menu (abstract)
- Parent (abstract) < Menu
- Child1 < Parent
- Child2 < Parent
- Parent’s sibling < Menu
There seems to be a bug when trying to listen to the ionicView.leave event for the Child1. Here is the sequence that triggers the faulty behavior:
- Visit Child1
- Child1 sets a listener for the ionicView.leave event
- Visit Parent’s Sibling.
- Leave event is not fired, as expected.
- Visit Child2
- Leave event from Child1 is fired?
This is using the latest version of ionic.
Any suggestions? Is this not supported by ionic? Or is this a bug with angular-ui?