Skip to content

bug: vue, ionRouter.canGoBack not working after 5.6.14 #24109

Closed
@liamdebeasi

Description

@liamdebeasi

Prerequisites

Ionic Framework Version

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

Current Behavior

ionRouter.canGoBack() functionality regressed in 621f4fa.

Expected Behavior

canGoBack() should return the correct value when users are at root of app.

Steps to Reproduce

  1. Clone https://github.com/pbowyer/ionic-android-hardware-back-button.
  2. Deploy on Android device.
  3. Navigate to Page 1.
  4. Tap ion back button.
  5. Tap hardware back button. App will not exit.

Code Reproduction URL

https://github.com/pbowyer/ionic-android-hardware-back-button

Ionic Info

No response

Additional Information

No response

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