Skip to content
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

Overlay: Allow tall modals to overflow the viewport height #15946

Open
arturhun opened this issue May 3, 2019 · 2 comments
Open

Overlay: Allow tall modals to overflow the viewport height #15946

arturhun opened this issue May 3, 2019 · 2 comments
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

Comments

@arturhun
Copy link

arturhun commented May 3, 2019

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:

image

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?

  • An example of such an implementation can be found at trello.com
  • I am mentioning height only, but obviously some users might also want to allow horizontal overflow for different cases.
  • If there is a way to achieve that in CDK, please point me to specific place in docs.
@andrewseguin andrewseguin added 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 labels May 6, 2019
@angular-robot
Copy link
Contributor

angular-robot bot commented Feb 21, 2022

Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

Find more details about Angular's feature request process in our documentation.

@angular-robot
Copy link
Contributor

angular-robot bot commented Mar 13, 2022

Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.

We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.

You can find more details about the feature request process in our documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants