You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v4.x
v5.x
v6.x
Nightly
Current Behavior
When setting the root component of IonNav inside of a modal, developers are unable to set the root component in the willPresent event callback for the modal.
In both the Angular and Vue framework implementations this is possible.
Expected Behavior
Developers should be able to set the root component in the willPresent event callback, to avoid having a flicker/delayed render of the root component.
Steps to Reproduce
Render IonNav in IonModal
Bind go willPresent event of IonModal
In the event handler, set the root component of the IonNav: nav.current.setRoot(PageOne)
Prerequisites
Ionic Framework Version
Current Behavior
When setting the root component of
IonNav
inside of a modal, developers are unable to set the root component in thewillPresent
event callback for the modal.In both the Angular and Vue framework implementations this is possible.
Expected Behavior
Developers should be able to set the root component in the
willPresent
event callback, to avoid having a flicker/delayed render of the root component.Steps to Reproduce
IonNav
inIonModal
willPresent
event ofIonModal
IonNav
:nav.current.setRoot(PageOne)
Against reproduction app
Code Reproduction URL
https://stackblitz.com/edit/angular-vmakvy?file=src%2Fmain.tsx
Ionic Info
N/A
Additional Information
No response
The text was updated successfully, but these errors were encountered: