ionic-framework
ionic-framework copied to clipboard
bug: vue, memoryRouter + tapping tab while inside nested route does nothing
Prerequisites
- [X] I have read the Contributing Guidelines.
- [X] I agree to follow the Code of Conduct.
- [X] I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v8.x
Current Behavior
When using memory history router and tapping on ion-tab while being on a nested route, nothing happens.
While debugging I found that route.position is undefined when trying to reset to root page. That maybe expected, not sure.
When using web history router, navigation to root page works as expected. I have to use memory router to make swipe back working inside PWA.
Expected Behavior
Navigate back to the root page of the tab.
Steps to Reproduce
- Clone (ionic-vue-conference-app)[https://github.com/ionic-team/ionic-vue-conference-app]
- Use memory router in router.ts (
createMemoryHistory) - Click on any session on sessions tab
- Click on schedule tab in the tab bar
- Nothing happens
Code Reproduction URL
https://github.com/ionic-team/ionic-vue-conference-app
Ionic Info
[ERROR] Invalid project type: vue-vite (project config: ./ionic.config.json).
Project type must be one of: angular, ionic-angular, ionic1, custom, react, vue
Bad project type: undefined
Additional Information
No response