-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
Handle tablet and phone layouts #49
Comments
One thing we could do is go the modernizer route where we apply various classes to the body and then toggle certain responsive elements then. I think a simple thing to toggle would be a split pane control with a side menu and core content. But it's unclear how to handle that in every case and it's kind of restrictive. |
Perhaps the side menu in the split pane control could optionally turn into a 'slide' menu on a phone-size screen? Might be difficult to implement though. This functionality could be achieved outside the framework by having a $rootScope 'device' variable and using ng-if to toggle a split-pane / single-pane layout (if $rootScope.device == 'tablet' or $rootScope.device == 'phone') Just a (probably poorly thought out) idea |
@erindru I like this idea really much. |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
I don't think responsive is the answer for native apps.
The text was updated successfully, but these errors were encountered: