Skip to content

bug: vue, back button not finding correct route info #23987

@GC-Mark

Description

@GC-Mark

Prequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x

Current Behavior

The back button stops working under certain scenarios

Expected Behavior

The back button should work

Steps to Reproduce

  • Clone the linked repo
  • ionic serve
  • Click Topics > Topic 1 > Article 1
  • Click the back button (not the browser back button) to get back to Topics
  • Click Topics > Topic 2 > Article 1 or Article 2
  • The back button will no longer work

Code Reproduction URL

https://github.com/GC-Mark/testing-app

Ionic Info

Ionic:

   Ionic CLI       : 6.17.1 (/usr/local/lib/node_modules/@ionic/cli)
   Ionic Framework : @ionic/vue 5.8.1

Capacitor:

   Capacitor CLI      : 3.2.3
   @capacitor/android : not installed
   @capacitor/core    : 3.2.3
   @capacitor/ios     : not installed

Utility:

   cordova-res : 0.15.3
   native-run  : 1.4.1

System:

   NodeJS : v15.14.0 (/usr/local/bin/node)
   npm    : 7.24.1
   OS     : macOS Big Sur

Additional Information

ionic.issue.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions