Skip to content

feat(mat-datepicker): Allow mat-datepicker to be always visible #29301

@angelaki

Description

@angelaki

Feature Description

Right now the datepicker shows only up on clicking the toggle button (or implementing some own logic). I'd love the picker to always show up if the bound control is focused.

I've tried to achieve this using a custom directive, but there are so many caveats. I'd like the focus to stay in the input and tabbing away to close it. But using the blur event doesn't work since selecting a date blurs the control, too.

Use Case

I want to make users aware of the possibility to just pick a date while keeping the comfort of filling a form by keyboard / tab only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: material/datepickerfeatureThis issue represents a new feature or feature request rather than a bug or bug fixneeds: clarificationThe issue does not contain enough information for the team to determine if it is a real bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions