Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selecting a Tab in Tabs do not trigger viewWillEnter lifecycle event #2794

Closed
kensodemann opened this issue Oct 10, 2017 · 7 comments
Closed

Comments

@kensodemann
Copy link
Member

From @ippeiukai on May 16, 2017 17:23

Ionic 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 

Copied from original issue: ionic-team/ionic-framework#11694

@kensodemann
Copy link
Member Author

From @stalniy on May 22, 2017 15:31

@jgw96 what do you think about solution which I proposed in #11752 ? Can it be integrated?

@kensodemann kensodemann added the v2 label Oct 10, 2017
@kensodemann
Copy link
Member Author

From @jgw96 on May 22, 2017 15:33

@stalniy , it looks like the right direction to me. Could you open a PR for it and we can discuss it there with our resident navController expert @manucorporat ?

@kensodemann
Copy link
Member Author

From @99four on May 31, 2017 10:27

@jgw96 do you have this PR opened somewhere?

@kensodemann
Copy link
Member Author

From @lpsantana on June 5, 2017 18:36

The same tabs problem occurring to me, i have also opened this issue #11786. Annoying problem

@kensodemann
Copy link
Member Author

From @snortblt on August 29, 2017 20:44

What's the status on this? The current implementation is pretty useless.

@kensodemann
Copy link
Member Author

From @mirkomancin on September 11, 2017 13:33

Some news on this issue??

@kensodemann
Copy link
Member Author

Ignore that, accidentally moved wrong issue...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant