-
Notifications
You must be signed in to change notification settings - Fork 3.4k
adding fullscreen option for mobile to $mdDialog #2148
Comments
+1 |
+1 |
2 similar comments
+1 |
+1 |
I am wondering if this is more of a request for a router-like functionality that happens to animate like a full-screen dialog... ie. thinking in-terms of $stateProvider.state('calendar.new-event', function() {
return {
templateUrl: '/my-full-screen-dialog/template.html',
controller: 'MyFullScreenCtrl',
animate: 'full-screen-dialog'
}
}); My point being, is this something that we really want to shoe-horn into the |
Very helpful would be a variable to inject into the controller on which media breakpoint the dialog should be displayed fullscreen:
This would cover almost every use case and I'd rather like to see this feature inside of the |
+1 @dohomi fantastic thoughts. I would love to see that implemented exactly as you have described! |
Modifying a dialog to be full screen just takes a couple lines of CSS: see CodePen. While a standardized class for this would be nice, I think we should instead focus our energy on opening multiple dialogs as that is the core functionality we are missing here. See #698. |
+1 |
3 similar comments
+1 |
+1 |
+1 |
Since @anderson-arlen codepen isn't available. Use the following css class on md-dialog and it should be full screen and working fine. You might want to wrap this in a media query depending on your needs like so.
This is working fine for my mobile app without any issues. |
+1 |
+1 |
+1 |
+1 @bradmartin Very nice. :) |
+1, It's a must for mobile devices ! |
+1 |
Added `smFullscreen` option that if it's set to true `.md-dialog-fullscreen` class is added to `<md-dialog>` that maximizing the dialog to the whole screen. fixes #2148
Added `smFullscreen` option that if it's set to true `.md-dialog-fullscreen` class is added to `<md-dialog>` that maximizing the dialog to the whole screen. fixes #2148
Added `smFullscreen` option that if it's set to true `.md-dialog-fullscreen` class is added to `<md-dialog>` that maximizing the dialog to the whole screen. fixes #2148
Added `fullscreen` option that if it's set to true `.md-dialog-fullscreen` class is added to `<md-dialog>` that maximizing the dialog to the whole screen. fixes #2148
Hello,
I would like to know if you plan to include a fullscreen option to $mdDialog with some more responsive functionalities? Would be very great for using dialogs on mobile devices:
http://www.google.com/design/spec/components/dialogs.html#dialogs-full-screen-dialogs
Thanks for your great work!
The text was updated successfully, but these errors were encountered: