-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: ionic vue IonRouterOutlet cannot access matchedRouteKey in vue-router #22540
Comments
Thanks, I can reproduce this. The problem here is that the
|
The Vue Router team was able to export the required information for us. Can you try the following dev build and let me know if it resolves the issue?
The needed information was added as part of |
This works :) Great work, as usual, @liamdebeasi. Thanks! |
BTW, any possibility this will be released as 5.5.1 beginning next week? |
Thanks for the issue. This has been resolved via #22542, and a fix will be available in an upcoming release of Ionic Framework.
We don't have a public timeline for a 5.5.1 release, but you can get a general sense of progress by looking at our milestones: https://github.com/ionic-team/ionic-framework/milestones. Note that these are subject to change especially with the holidays in the US coming up. Until then, that dev build should be safe to continue to develop with until 5.5.1 is out. |
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. |
Bug Report
Ionic version:
[x] 5.x
Current behavior:
When navigating from a route to another the onBeforeRouteLeave hook is not called
Expected behavior:
onBeforeRouteLeave is called
Steps to reproduce:
Run
npm run serve
on the project belowRelated code:
https://github.com/NunoSav/ionic-vue3-navigation-guards
Ionic info:
The text was updated successfully, but these errors were encountered: