Skip to content

fix(tabs): fix goto root - #16926

Merged
manucorporat merged 1 commit into
masterfrom
fix-tabs-root
Jan 1, 2019
Merged

manucorporat merged 1 commit into
masterfrom
fix-tabs-root

Conversation

@manucorporat

Copy link
Copy Markdown
Contributor

fixes #16917

Short description of what this resolves:

Changes proposed in this pull request:

Ionic Version:

Fixes: #

@ionitron-bot ionitron-bot Bot added package: angular @ionic/angular package package: core @ionic/core package labels Jan 1, 2019
@manucorporat
manucorporat merged commit 8ee9205 into master Jan 1, 2019
@manucorporat
manucorporat deleted the fix-tabs-root branch January 1, 2019 16:51
@james11a

Copy link
Copy Markdown

@manucorporat In the commit 8ee9205 return this.navigate(url, options) should be used instead of this.navigate(url, options)

Because return is not used, navigateForward() / navigateBack() / navigateRoot() all return void instead of Promise<boolean> as returned by router.navigate(). This is causing the compiler to throw error if .then / .catch is used after the above function calls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: angular @ionic/angular package package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tapping a tab multiple times forces incorrect stack navigation

2 participants