Skip to content

[Datepicker] Opening year view with filter slow #9725

Closed
@timwright35

Description

@timwright35

Bug, feature request, or proposal:

Bug

What is the expected behavior?

When opening year view, when you have a min or max date, should open near if not in the same amount of time as the non filtered year view.

What is the current behavior?

Currently opening the filtered year view on datepicker takes 5-7 times as long to open then the non-filtered view.

What are the steps to reproduce?

https://stackblitz.com/edit/angular-material2-issue-qu5ile

What is the use-case or motivation for changing an existing behavior?

Filtering dates in datepicker

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Material 5.2.0-beta.0
Angular 5.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions