Full screen dialog in mobile mode
See original GitHub issueBug, feature request, or proposal:
A bug to me
What is the expected behavior?
Being able to have full screen dialogs by overriding cdk-overlay-pane
class
What is the current behavior?
Not possible because framework adds max-width: 80vw;
to element’s style
What are the steps to reproduce?
Override cdk-overlay-pane
with width: 100%
and see it ignored because of max-width: 80vw;
in the style
What is the use-case or motivation for changing an existing behavior?
Displaying html blobs of site’s T&C and privacy policy. May not the best way to use dialogs, but nonetheless…
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 5.2.3, Material 5.2.0
Is there anything else we should know?
I’m upgrading a site from an early 2.0.0.beta8 where this was possible.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:9 (1 by maintainers)
Top Results From Across the Web
How to set dialog to show in full screen? - android
FEATURE_NO_TITLE); dialog.setContentView(R.layout.loading_screen); Window window = dialog.getWindow(); WindowManager.LayoutParams wlp = window.
Read more >How to make full screen custom dialog in Android?
This example demonstrate about How to make full screen custom dialog. Step 1 − Create a new project in Android Studio, go to...
Read more >How to Create a Full Screen AlertDialog in Android?
So in this article, we will show you how you could make a Full-Screen AlertDialog in Android. Follow the below steps once the...
Read more >Implementing the new Material Design Full-Screen Dialog for ...
The Material Design guidelines describe a component called a full-screen dialog. This component is not yet officially available.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’d be nice if modals could provide a full screen modal when on mobile (sm & xs) screens.
fullscreen dialog is actually in the material design spec. https://material.io/design/components/dialogs.html#full-screen-dialog
can we have something like this in angular material?