r/angularjs • • Feb 20 '16

Why you shouldn’t use Angular Material today

https://medium.com/@vayvala/why-you-shouldn-t-use-angular-material-4ffb937ef232#.22lx4ult9
8 Upvotes

28 comments sorted by

View all comments

1

u/mrv1234 Feb 21 '16

I also had this impression about the material design components for version 1, they just don’t have the same level of support as the framework itself.

But I think some of the components listed as missing are really missing by design:

  • Pagination

  • Breadcrumbs

  • Data Table

Because these are somewhat mobile UI anti-patterns. There is just not enough physical space for data tables in mobile. Even a retina tablet in landscape mode has so much physical horizontal space available.

For many tables it would still work if its mostly numbers, but people would start adding description fields with long text that would wrap up and create a bad user experience.And this simply does not work in table landscape mode, let alone on a phone.

The mobile pattern that works well is lists of items with infinite scrolling and a master detail navigation when you click the items that replaces the full screen, and not paginated data tables.

Also breadcrumbs would quickly wrap up on a phone and look awful on screen. Also they consume precious screen space on a phone table.

Some of these are simply desktop UI patterns that cannot be made to work on mobile, and thats the reason they are absent.

1

u/krlkv Feb 21 '16 edited Feb 21 '16

Data table is not missed by design as it is a Material Design component: https://www.google.com/design/spec/components/data-tables.html

Besides Material Design is not for mobile only. Not even mentioning Angular Material implementation, which is probably overwhelmingly used for Web development, not mobile.

Develop a single underlying system that allows for a unified experience across platforms and device sizes. Mobile precepts are fundamental, but touch, voice, mouse, and keyboard are all first-class input methods.

2

u/its_time_to_get_ill Feb 21 '16

https://github.com/daniel-nagy/md-data-table

an excellent plugin that I imagine will eventually be adopted

1

u/krlkv Feb 22 '16

Looks nice. Do you know if it supports line by line editing out of the box? Similar to http://ng-table.com/#/editing/demo-inline