Skip to content
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

Closed
Ritzlgrmft opened this issue Nov 25, 2016 · 6 comments
Closed

Problem with virtual scroll, orientation change and navigation #9350

Ritzlgrmft opened this issue Nov 25, 2016 · 6 comments

Comments

@Ritzlgrmft
Copy link
Contributor

Ritzlgrmft commented Nov 25, 2016

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):

Cordova CLI: 6.4.0 
Ionic CLI Version: 2.1.12
Ionic App Lib Version: 2.1.7
ios-deploy version: 1.9.0 
ios-sim version: 5.0.11 
OS: macOS Sierra
Node Version: v4.6.0
Xcode version: Xcode 8.1 Build version 8B62
@GeeKanJi
Copy link

GeeKanJi commented Dec 2, 2016

Hello,

I have the same problem.

As complementary information, the items on the list stack up, which is why we only see one element

@OmarHassan25
Copy link

I have the same problem.

@faraazc
Copy link

faraazc commented Dec 7, 2016

+1 I have the same problem.

@GR1ML0CK
Copy link

+1 seeing the same exact issue

@radbp
Copy link

radbp commented Mar 24, 2017

same here

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 3, 2018

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.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants