You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NavCtroller navigateForward and navigateBack broken after refactor by commit #8ee9205 #17103
Current behavior:
The methods navigateForward and navigateBack of the NavController returns void instead of returning the value returned by navigate. See commit 8ee9205#diff-68c0efda98168f58059a80de770871e5
This is a breaking change not listed in the release notes.
Expected behavior:
In Ionic 4.0.0-rc.0 these methods returned a promise that resolved when the navigation was successfull. These is usefull to close dialogs or menus after a navigation has been completed.
Steps to reproduce:
Start a fresh new project with two pages.
Inject NavController on the first page and use it to navigate forward (i.e. this.navCtrl.navigateForward('secondPage').then(() => console.log('succeded')).
changed the title [-]NavCtroller navigateForward and navigateBack broken after refactor[/-][+]NavCtroller navigateForward and navigateBack broken after refactor by commit 8ee9205[/+]on Jan 14, 2019
changed the title [-]NavCtroller navigateForward and navigateBack broken after refactor by commit 8ee9205[/-][+]NavCtroller navigateForward and navigateBack broken after refactor by commit #8ee9205[/+]on Jan 14, 2019
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.
Activity
[-]NavCtroller navigateForward and navigateBack broken after refactor[/-][+]NavCtroller navigateForward and navigateBack broken after refactor by commit 8ee9205[/+][-]NavCtroller navigateForward and navigateBack broken after refactor by commit 8ee9205[/-][+]NavCtroller navigateForward and navigateBack broken after refactor by commit #8ee9205[/+]manucorporat commentedon Jan 14, 2019
Thanks for the issue! already created a PR that fixes it: #17106
ionitron-bot commentedon Feb 13, 2019
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.