We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
v8.x
Scroll position is not restored when I navigate back to the previous page, it scrolls me to the top of the page
It's really annoying when you want to open the details of an item, then go back, then want to open another item details, etc...
In v7 of Ionic, it would keep the previous scroll position, so that navigating back and forth between pages was smooth
I forked the stackblitz demo of https://ionicframework.com/docs/api/nav#using-navlink and just added some fake content so that the page are tall enough to be scrollable.
Steps:
It was not the case in Ionic v7
https://stackblitz.com/edit/ultfxy?file=index.html
Ionic: Ionic CLI : 7.2.0 (/home/jmarcou/.nvm/versions/node/v20.14.0/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 8.2.0 @angular-devkit/build-angular : 18.0.2 @angular-devkit/schematics : 18.0.2 @angular/cli : 18.0.2 @ionic/angular-toolkit : not installed Capacitor: Capacitor CLI : 6.0.0 @capacitor/android : 6.0.0 @capacitor/core : 6.0.0 @capacitor/ios : not installed Utility: cordova-res : not installed globally native-run : 2.0.1 System: NodeJS : v20.14.0 (/home/jmarcou/.nvm/versions/node/v20.14.0/bin/node) npm : 10.8.1 OS : Linux 5.15
No response
The text was updated successfully, but these errors were encountered:
rugoncalves
No branches or pull requests
Prerequisites
Ionic Framework Version
v8.x
Current Behavior
Scroll position is not restored when I navigate back to the previous page, it scrolls me to the top of the page
It's really annoying when you want to open the details of an item, then go back, then want to open another item details, etc...
Expected Behavior
In v7 of Ionic, it would keep the previous scroll position, so that navigating back and forth between pages was smooth
Steps to Reproduce
I forked the stackblitz demo of https://ionicframework.com/docs/api/nav#using-navlink and just added some fake content so that the page are tall enough to be scrollable.
Steps:
It was not the case in Ionic v7
Code Reproduction URL
https://stackblitz.com/edit/ultfxy?file=index.html
Ionic Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: