Skip to content

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

Closed

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

Activity

  1. changed the title [-]bug: Back button stops working under certain scenario[/-] [+]bug: vue, back button not finding correct route info[/+] on Sep 27, 2021
  2. liamdebeasi commented on Sep 27, 2021

    @liamdebeasi
    Contributor

    Thanks for the issue. I can reproduce this behavior. As a temporary workaround, you can use Ionic Vue v5.6.13.

  3. added
    package: vue
    type: bug
    on Sep 27, 2021
  4. GC-Mark commented on Sep 28, 2021

    @GC-Mark
    Author

    Thanks, rolling back to v5.6.13 fixes this for us for now 👍

  5. modified the milestones: 5.8.3, 5.8.4, 5.8.5 on Oct 7, 2021
  6. liamdebeasi commented on Oct 12, 2021

    @liamdebeasi
    Contributor

    Thanks for the issue. Can you try the following dev build and let me know if it resolves the issue?

  7. GC-Mark commented on Oct 13, 2021

    @GC-Mark
    Author

    I have checked the specific problem in our app and can confirm that #24060 seems to have fixed the issue 👍

  8. added a commit that references this issue on Oct 13, 2021
    a09d7d4
  9. liamdebeasi commented on Oct 13, 2021

    @liamdebeasi
    Contributor

    Thanks for the issue. This has been resolved via #24060, and a fix will be available in an upcoming release of Ionic Framework.

    Feel free to keep testing that dev build and let me know if you run into any issues. Thanks!

  10. tigohenryschultz commented on Nov 4, 2021

    @tigohenryschultz
    Contributor

    I don't think this was fully fixed in 5.8.5. I still encounter it, see this ticket:

    #23873

  11. ionitron-bot commented on Dec 4, 2021

    @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.

  12. locked and limited conversation to collaborators on Dec 4, 2021
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

    package: vuetype: bug

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions