This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
Virtual repeat not scrolling to the top index on load #8585
Closed
Description
Actual behavior:
- What is the issue? - The virtual repeat has a
md-top-index
attribute that keeps track of the current top index. The repeater doesn't scroll to the proper item on load, if the index is bigger than 0. - What is the expected behavior? - The repeater should scroll to the proper item.
CodePen or Steps to reproduce the issue: *
- CodePen Demo which shows your issue : http://codepen.io/DevVersion/pen/YWzrMw
- Details: This is a fork of the demo in the docs site, except that the
selectedYear
is changed from 0 to 3. Note that the dropdown shows 2013, but the repeater is still on 2016.
Angular Versions: *
- Angular Version: 1.5.5
- Angular Material Version: 1.1rc4
Additional Information:
- Browser: Chrome
- Browser Version: 50
- OS: Windows 10
- Stack Traces: N/A