-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
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
Problem with virtual scroll, orientation change and navigation #9350
Comments
Hello, I have the same problem. As complementary information, the items on the list stack up, which is why we only see one element |
I have the same problem. |
+1 I have the same problem. |
+1 seeing the same exact issue |
same here |
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. |
Ionic version: (check one with "x")
[ ] 1.x
[x] 2.x
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
In my app, I have a list with virtual scroll. When the user taps on an item, a sub-page is shown. When the user taps the back-button, the list is show again. So far so good.
But when the user changes the device's orientation (e.g. from portrait to landscape) on the sub-page and taps back afterwards, the list is shown with only one item.
Expected behavior:
After going back, again the whole list should be shown. Maybe repositioned to the beginning (like the behaviour, when I rotate the device showing the list).
Steps to reproduce:
see https://github.com/Ritzlgrmft/ionic2-virtual-scroll
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):The text was updated successfully, but these errors were encountered: