Skip to content

Datepicker height issue with large custom header  #20459

Closed
@dexster

Description

@dexster

Reproduction

https://stackblitz.com/edit/components-issue-9tpthp

Steps to reproduce:

  1. Create a custom calendar header with a height of 100px;
  2. If there are 6 day rows in a month then the calendar has this style issue. If the height was greater it would affect more rows

Expected Behavior

Calendar content should remain inside container. mat-calendar-content should probably have an independent height style from the heading.

Actual Behavior

Container not resizing to accomodate header height:
datepicker

Environment

  • Angular: 10.0.3
  • CDK/Material : 10.0.1
  • Browser(s): Firefox/Chrome
  • Operating System: macOS

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/datepickerhelp wantedThe team would appreciate a PR from the community to address this issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions