diff --git a/docs/react/navigation.md b/docs/react/navigation.md index 9b7129667e9..add9fcb1102 100644 --- a/docs/react/navigation.md +++ b/docs/react/navigation.md @@ -146,6 +146,8 @@ const DashboardPage: React.FC = ({ match }) => { The `IonPage` component wraps each view in an Ionic React app and allows page transitions and stack navigation to work properly. Each view that is navigated to using the router must include an `IonPage` component. +`IonPage` is also required for proper styling. It provides a flex container that ensures page content, such as `IonContent`, is properly sized and does not overlap other UI elements like `IonTabBar`. + ```tsx import { IonContent, IonHeader, IonPage, IonTitle, IonToolbar } from '@ionic/react'; import React from 'react'; diff --git a/docs/vue/navigation.md b/docs/vue/navigation.md index b77a19ba7e1..6f6afa3575f 100644 --- a/docs/vue/navigation.md +++ b/docs/vue/navigation.md @@ -494,6 +494,8 @@ Nothing should be provided inside of `IonRouterOutlet` when setting it up in you The `IonPage` component wraps each view in an Ionic Vue app and allows page transitions and stack navigation to work properly. Each view that is navigated to using the router must include an `IonPage` component. +`IonPage` is also required for proper styling. It provides a flex container that ensures page content, such as `IonContent`, is properly sized and does not overlap other UI elements like `IonTabBar`. + ```vue