Selecting a Tab in Tabs do not trigger viewWillEnter lifecycle event
See original GitHub issueIonic version: (check one with “x”) [ ] 1.x [ ] 2.x [x] 3.x
I’m submitting a … (check one with “x”) [x] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
Clicking tab buttons in the tabs component does not trigger App#viewWillEnter and other lifecycle events, except the first time the page is being loaded.
Expected behavior:
Every time selected tab changes in tabs component, lifecycle events get triggered on each tab’s view.
Steps to reproduce:
http://plnkr.co/edit/sJFO6E9cRUXeKWSXb1LZ?p=preview
Related code:
n/a
Other information:
Probably related: #9787.
Ionic info: (run ionic info
from a terminal/cmd prompt and paste output below):
global packages:
@ionic/cli-utils : 1.0.0
Cordova CLI : 7.0.1
Ionic CLI : 3.0.0
local packages:
@ionic/app-scripts : 1.3.7
@ionic/cli-plugin-cordova : 1.0.0
@ionic/cli-plugin-ionic-angular : 1.0.0
Ionic Framework : ionic-angular 3.2.1
System:
Node : v6.10.3
OS : OS X El Capitan
Xcode : Xcode 8.2.1 Build version 8C1002
ios-deploy : 1.9.1
ios-sim : 5.0.13
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:16 (7 by maintainers)
@Creawebs - we are not planning on having any more v3 releases of Ionic. You will need to retest this in v4 when it is released and then create a new issue if it is still a problem. The first BETA for v4 should be soon (within a few weeks).
That is a very important statement @Creawebs. I really wish this would be announced properly on the Ionic Website or blog. You are effectively ending any and all support for Ionic 3 (and previous), even before Ionic 4 is out. This is a very important decision that really ought to be communicated honestly and openly with everyone in a proper manner. Why even bother filing or commenting on v3 tickets then?