Closed masimplo closed 2 years ago
This has (at last!) been resolved via https://github.com/ionic-team/ionic-framework/pull/24910, and the fix will be available in a future release of Ionic 👍
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Bug Report
Ionic version:
[x] 4.x
Current behavior:
Calling a function on
ionTabsWillChange
event emission. Adding a breakpoint on that function is hit after the tab is changed. From the code it seams thationTabsWillChange
andionTabsDidChange
are fired together:https://github.com/ionic-team/ionic/blob/6929bb817cff5e4ac3eb266e7aca45173c361789/angular/src/directives/navigation/ion-tabs.ts#L64
Expected behavior:
ionTabsWillChange
should fire right before the tab is changed.Steps to reproduce:
Related code:
Other information:
Ionic info: