Skip to content

bug: menu stop working in an application that has two main page with each a side menu #18974

Description

@iamkinetic

Bug Report

Ionic version:
[x] 4.7.X
[x] 4.8.X
[x] 4.9.0
[x] 4.10

Current behavior:
Application has two main pages. Each of these pages have a different side menu. When navigating the application this way, the menu stop being displayed.

Expected behavior:
Side menu should not stop being displayed when navigating.

Steps to reproduce:

  1. Open side menu from initial page and click "Page # 2 with menu # 2
  2. Navigation works, and side menu # 2 is displayed.
  3. Open side menu and click "Page # 1 with menu # 1".
  4. Page # 1 is correctly loaded except the menu # 1 is not displayed anymore.
    2b5e74df-4e47-4481-9520-782732a0049d

Related code:

Sample application on GitHub:
https://github.com/iamkinetic/ionic4-multiple-menus-bug

Ionic info:

Ionic:
Ionic CLI : 5.2.1 (C:\Users\iamkinetic\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.7.1
@angular-devkit/build-angular : 0.801.3
@angular-devkit/schematics : 8.1.3
@angular/cli : 8.1.3
@ionic/angular-toolkit : 2.0.0
Utility:
cordova-res : not installed
native-run : 0.2.7
System:
NodeJS : v11.4.0 (C:\Program Files\nodejs\node.exe)
npm : 6.10.2
OS : Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions