Skip to content

bug: multi tab setup causes pages to render in wrong outlet #22286

@dlodeprojuicer

Description

@dlodeprojuicer

Bug Report

Ionic version:

[ ] 4.x
[x] 5.x

Current behavior:

Sometimes I get Cannot read property 'classList' of undefined when navigating between two pages.

Expected behavior:

Steps to reproduce:

This was mentioned here.... The error came up when I upgraded to 0.5.2. Now I am on 5.4.0-rc.1.

  1. Clone and run the app
  2. Open Chrome dev tools
  3. On the app click Profile then click Home. The error will show up on the console.

Related code:

Github repo

insert short code snippets here

Other information:

Ionic info:


Ionic:

   Ionic CLI       : 6.11.8-testing.0 (/usr/local/lib/node_modules/@ionic/cli)
   Ionic Framework : @ionic/vue 5.4.0-rc.1

Capacitor:

   Capacitor CLI   : 2.4.1
   @capacitor/core : 2.4.1

Utility:

   cordova-res : 0.15.1
   native-run  : not installed

System:

   NodeJS : v12.18.0 (/usr/local/bin/node)
   npm    : 6.14.4
   OS     : macOS Catalina

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions