Closed
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- 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
Starting in 6.1.15, IonNav
page transitions are incorrect.
The changes to support custom sized dialogs, introduced a change to the global stylesheet that is being applied in scenarios where IonNav
is used within IonModal
.
Problematic styles:
ion-modal .ion-page {
position: relative;
contain: layout style;
height: 100%;
}
Expected Behavior
IonNav
transitions should be consistent within a modal or outside of a modal.
Steps to Reproduce
- Clone: https://github.com/milang/ionic-simplevitejs
- Checkout branch:
recursivemodalnav
npm install
npm run dev
- Click "Open Modal"
- Click "Push"
- Observe the incorrect transition between views
Code Reproduction URL
https://github.com/milang/ionic-simplevitejs
Ionic Info
6.1.15+
Additional Information
Related to: #25677 (caused by the same change, but are effected differently between Angular and React).