Overlay: Allow tall modals to overflow the viewport height #15946
Labels
area: cdk/overlay
feature
This issue represents a new feature or feature request rather than a bug or bug fix
P4
A relatively minor issue that is not relevant to core functions
Please describe the feature you would like to request.
Overlay.position() should offer a way to display really tall modals without adjusting their height to max 100% of the viewport/backdrop.
current positioning:
as you see the panel stretches only as tal as viewport permits, thus truncating the contents.
What is the use-case or motivation for this proposal?
There are cases where modal is used to display lengthy information (long lists, rich restaurant menus, etc). In such a case designer often choose to display the modal as tall as need be, rather than displaying a scrollbar. The backdrop height is just
auto
.Is there anything else we should know?
The text was updated successfully, but these errors were encountered: