Ionic - View Leave Events Never Called

后端 未结 4 627
旧巷少年郎
旧巷少年郎 2021-01-19 00:41

After updating an existing Ionic project from 1.13-beta to 1.14-beta I\'ve experienced some behaviour I can\'t explain. When changing from one viewstate to another, the old

4条回答
  •  庸人自扰
    2021-01-19 01:00

    Found the problem. The 'Main' state was defined without the attribute

    abstract: true
    

    this worked in Ionic 1.13-beta but Aparently breaks in Ionic 1.14-beta. Didn't find this change in any of the migration posts on either Ionic, AngularJS or Angular-ui-router, so I don't know why this solved it. If anyone can elaborate more on the behavior in this situation, I'd be grateful but for now I have a solution.

提交回复
热议问题