-
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
bug: Scroll is lost with collection-repeat #2865
Comments
I have this exact same problem. Please fix! thank you |
It doesn't need to be a modal, even showing keyboard causes the same issue. |
Indeed, tried it and I confirm it's fixed ! Well done ;) |
Fixed . |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Type: bug
Platform: all
Let's suppose a tab presenting the view MyList: a list of item using a collection-repeat.
Click on an item, its detail is shown.
Now, go back and...cool the scroll has kept the position ! Everything Ok, since MyList is a cached view .
Now this scenario:
Click on an item, and in its detail page, open a modal (assuming there's button/link opening a modal).
Now, close the modal and go back to the list (through the back button too).
Wow! The scroll has lost the previous position, it's at the top ! => issue
It doesn't happen when using classic ng-repeat.
Here's a codepen: http://codepen.io/mica16/pen/EaygJa?editors=101
The text was updated successfully, but these errors were encountered: