Skip to content

[4.0.0-rc.2] navigateRoot animated true not working #17144

Closed

Description

@dylanvdmerwe

Bug Report

Ionic version:
[x] 4.x

Current behavior:
When explicitly telling the router to animate when setting root, there is no animation.

Expected behavior:
An animation should be shown when explicitly asked for.

Related code:

   this.navController.navigateRoot('/login', { animated: true });

Ionic info:

Ionic:

   ionic (Ionic CLI)             : 4.7.1 (C:\Users\dylan\AppData\Roaming\npm\node_modules\ionic)
   Ionic Framework               : @ionic/angular 4.0.0-rc.1
   @angular-devkit/build-angular : 0.11.4
   @angular-devkit/schematics    : 7.1.2
   @angular/cli                  : 7.1.0
   @ionic/angular-toolkit        : 1.2.0

Cordova:

   cordova (Cordova CLI) : 8.1.2 ([email protected])
   Cordova Platforms     : none
   Cordova Plugins       : no whitelisted plugins (0 plugins total)

System:

   NodeJS : v10.14.1 (C:\Program Files\nodejs\node.exe)
   npm    : 6.5.0
   OS     : Windows 10

Activity

  1. manucorporat commented on Jan 17, 2019

    @manucorporat
    Contributor

    Which animation would you expect for navigateRoot? forward or backwards?

  2. dylanvdmerwe commented on Jan 17, 2019

    @dylanvdmerwe
    ContributorAuthor

    I would probably expect forwards since we are not necessarily going back. What did v3 do?

  3. added a commit that references this issue on Jan 18, 2019
    fa891d3
  4. added a commit that references this issue on Jan 18, 2019
    a6559a4
  5. ionitron-bot commented on Feb 17, 2019

    @ionitron-bot

    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.

  6. locked and limited conversation to collaborators on Feb 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions