-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Datepicker height issue with large custom header #20459
Labels
area: material/datepicker
help wanted
The team would appreciate a PR from the community to address this issue
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Comments
DmitryKovganov
pushed a commit
to DmitryKovganov/components
that referenced
this issue
Sep 2, 2020
Fixes a bug in the Angular Material `datepicker` component when the sum of the header height and the content is not 354px. This is because we have a predefined height value, but we should use auto value to fit the content. Fixes angular#20459
DmitryKovganov
pushed a commit
to DmitryKovganov/components
that referenced
this issue
Sep 2, 2020
Fixes a bug in the Angular Material `datepicker` component when the sum of the header height and the content is not 354px. This is because we have a predefined height value, but we should use auto value to fit the content. Fixes angular#20459
DmitryKovganov
added a commit
to DmitryKovganov/components
that referenced
this issue
Sep 2, 2020
Fixes a bug in the Angular Material `datepicker` component when the sum of the header height and the content is not 354px. This is because we have a predefined height value, but we should use auto value to fit the content. Fixes angular#20459
Can i take up this issue ? |
ramprakashram
added a commit
to ramprakashram/components
that referenced
this issue
Jan 22, 2022
…r is provided Fixes a bug in the Angular Material `datepicker` component where the content of the datepicker is overflowing outside when a custom header with large height is provided. This is because of the fixed height provided is not enough with custom headers, so added a new class which will set the height of calendar to auto when custom header is given. Fixes angular#20459
ramprakashram
added a commit
to ramprakashram/components
that referenced
this issue
Jan 22, 2022
…r is provided Fixes a bug in the Angular Material `datepicker` component where the content of the datepicker is overflowing outside when a custom header with large height is provided. This commit adds comments for the changes done for this bug. Fixes angular#20459
ramprakashram
added a commit
to ramprakashram/components
that referenced
this issue
Jan 26, 2022
…r is provided Fixes a bug in the Angular Material `datepicker` component where the content of the datepicker is overflowing outside when a custom header with large height is provided. This commit updates the html to use plain class instead of ngClass and removes the $non-touch-custom-header-calendar-height scss variable. Fixes angular#20459
amysorto
pushed a commit
that referenced
this issue
Jan 28, 2022
…r is provided (#24255) * fix(material/datepicker): content overflowing when large custom header is provided Fixes a bug in the Angular Material `datepicker` component where the content of the datepicker is overflowing outside when a custom header with large height is provided. This is because of the fixed height provided is not enough with custom headers, so added a new class which will set the height of calendar to auto when custom header is given. Fixes #20459 * fix(material/datepicker): content overflowing when large custom header is provided Fixes a bug in the Angular Material `datepicker` component where the content of the datepicker is overflowing outside when a custom header with large height is provided. This commit adds comments for the changes done for this bug. Fixes #20459 * fix(material/datepicker): content overflowing when large custom header is provided Fixes a bug in the Angular Material `datepicker` component where the content of the datepicker is overflowing outside when a custom header with large height is provided. This commit updates the html to use plain class instead of ngClass and removes the $non-touch-custom-header-calendar-height scss variable. Fixes #20459 (cherry picked from commit 1933225)
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
forsti0506
pushed a commit
to forsti0506/components
that referenced
this issue
Apr 3, 2022
…r is provided (angular#24255) * fix(material/datepicker): content overflowing when large custom header is provided Fixes a bug in the Angular Material `datepicker` component where the content of the datepicker is overflowing outside when a custom header with large height is provided. This is because of the fixed height provided is not enough with custom headers, so added a new class which will set the height of calendar to auto when custom header is given. Fixes angular#20459 * fix(material/datepicker): content overflowing when large custom header is provided Fixes a bug in the Angular Material `datepicker` component where the content of the datepicker is overflowing outside when a custom header with large height is provided. This commit adds comments for the changes done for this bug. Fixes angular#20459 * fix(material/datepicker): content overflowing when large custom header is provided Fixes a bug in the Angular Material `datepicker` component where the content of the datepicker is overflowing outside when a custom header with large height is provided. This commit updates the html to use plain class instead of ngClass and removes the $non-touch-custom-header-calendar-height scss variable. Fixes angular#20459
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area: material/datepicker
help wanted
The team would appreciate a PR from the community to address this issue
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Reproduction
https://stackblitz.com/edit/components-issue-9tpthp
Steps to reproduce:
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:

Environment
The text was updated successfully, but these errors were encountered: