Skip to content
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: Navigation Breaks #24541

Closed
4 of 6 tasks
AksharX opened this issue Jan 9, 2022 · 3 comments
Closed
4 of 6 tasks

bug: Navigation Breaks #24541

AksharX opened this issue Jan 9, 2022 · 3 comments
Labels
needs: reply the issue needs a response from the user

Comments

@AksharX
Copy link

AksharX commented Jan 9, 2022

Prerequisites

Ionic Framework Version

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

Current Behavior

Navigation breaks, the page becomes overlayed by another ion-page and make the app unusable until you refresh.

Expected Behavior

Navigation shouldn't break by visiting the links. Seems like multiple IonRouterOutlet are being spawned and there are pages that are in the wrong place.

Steps to Reproduce

https://stackblitz.com/edit/ionic-react-routing-8hm4w3

Navigating by utilizing the links will eventually break the application

Code Reproduction URL

https://stackblitz.com/edit/ionic-react-routing-8hm4w3

Ionic Info

No response

Additional Information

No response

@ionitron-bot ionitron-bot bot added the triage label Jan 9, 2022
@brhoomjs
Copy link

Fixing that by setting these:

<ion-content color="light" [fullscreen]="true">...

@amandaejohnston
Copy link
Contributor

Thanks for the issue. Could you try this with the latest version of Ionic, and add an ionPage prop to the nested router outlets as described here?

I noticed that you're using a fork of the nested router outlets example from the docs. Assuming the fix from #20219 works here, we should update the docs accordingly, including the inline code examples (which are currently missing the ionPage prop). I'll get things organized once we've confirmed the ionPage fix still works.

@amandaejohnston amandaejohnston added the needs: reply the issue needs a response from the user label Jan 18, 2022
@ionitron-bot ionitron-bot bot removed the triage label Jan 18, 2022
@ionitron-bot
Copy link

ionitron-bot bot commented Feb 1, 2022

Thanks for the issue! This issue is being closed due to the lack of a reply. 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.

Thank you for using Ionic!

@ionitron-bot ionitron-bot bot closed this as completed Feb 1, 2022
@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Feb 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs: reply the issue needs a response from the user
Projects
None yet
Development

No branches or pull requests

3 participants