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

@crisbeto

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

Activity

  1. added this to the 1.1.0 milestone on May 31, 2016
  2. added
    P1: urgent
    on May 31, 2016
  3. self-assigned this
    on May 31, 2016
  4. crisbeto commented on Jun 1, 2016

    @crisbeto
    MemberAuthor

    The virtual repeater seems to be working fine. The Codepen isn't scrolling down on load, because of a watch within the demo that's resetting the index back to 0.

  5. locked as resolved and limited conversation to collaborators on May 5, 2020
  6. added
    resolution: works as expected
    and removed on Jun 16, 2020
  7. removed this from the 1.1.0 milestone on Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1: urgentresolution: works as expectedtype: bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions