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
{{ message }}
Repository navigation
bug: footer not working anymore inside a modal #24364
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v4.x
v5.x
v6.x
Current Behavior
when placing ion-footer inside of ion-modal it should work properly with ion-content like ion-header does, but version 6 changes broke it, and now it not showing.
Expected Behavior
when placing ion-footer inside of ion-modal it should work properly with ion-content
Steps to Reproduce
create ion modal containing ion-header ion-content and ion-footer. ion-footer will be off of the screen
Thanks for the issue! This issue has been labeled as needs reproduction. This label is added to issues that need a code reproduction.
Please reproduce this issue in an Ionic starter application and provide a way for us to access it (GitHub repo, StackBlitz, etc). Without a reliable code reproduction, it is unlikely we will be able to resolve the issue, leading to it being closed.
If you have already provided a code snippet and are seeing this message, it is likely that the code snippet was not enough for our team to reproduce the issue.
For a guide on how to create a good reproduction, see our Contributing Guide.
hi @liamdebeasi, i manage to fix it by wrapping 'IonModal' content with 'IonPage'. seems that in version 6 wrapping ionModal content with 'IonPage' is required. it will be perfect if it will be in the docs (currently without IonPage wrapper)
Glad the issue is fixed, but can you still reproduce the issue in a starter app and provide a link to the repo? I am not seeing this happen on my end -- the content inside of a modal should automatically be wrapped with an .ion-page class.
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.
Activity
liamdebeasi commentedon Dec 10, 2021
Thanks for the issue. Can you please reproduce this in an Ionic starter app and provide a link to the repo? I cannot reproduce this in an Ionic 6 app.
ionitron-bot commentedon Dec 10, 2021
Thanks for the issue! This issue has been labeled as
needs reproduction. This label is added to issues that need a code reproduction.Please reproduce this issue in an Ionic starter application and provide a way for us to access it (GitHub repo, StackBlitz, etc). Without a reliable code reproduction, it is unlikely we will be able to resolve the issue, leading to it being closed.
If you have already provided a code snippet and are seeing this message, it is likely that the code snippet was not enough for our team to reproduce the issue.
For a guide on how to create a good reproduction, see our Contributing Guide.
natqe commentedon Dec 10, 2021
hi @liamdebeasi, i manage to fix it by wrapping 'IonModal' content with 'IonPage'. seems that in version 6 wrapping ionModal content with 'IonPage' is required. it will be perfect if it will be in the docs (currently without IonPage wrapper)
liamdebeasi commentedon Dec 13, 2021
Glad the issue is fixed, but can you still reproduce the issue in a starter app and provide a link to the repo? I am not seeing this happen on my end -- the content inside of a modal should automatically be wrapped with an
.ion-pageclass.natqe commentedon Dec 14, 2021
@liamdebeasi Yeah, is add it automatically when using
useIonModalbut not when using it as a jsx via<IonModal>alexlopezit commentedon Dec 19, 2021
I can confirm this issue after upgrading to Ionic 6, and thanks for the workaround of using IonPage
jameson-w-taylor commentedon Jan 4, 2022
The
<IonPage>workaround did work for me, and here's a reproduction of the issue (link).<IonFooter>appears to be rendering outside of the modal content area.Screenshots
<IonModal>useIonModalliamdebeasi commentedon Jan 6, 2022
Thanks for the issue. This has been resolved via #24510, and a fix will be available in an upcoming release of Ionic Framework.
ionitron-bot commentedon Feb 5, 2022
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.