question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] Grid system complicated

See original GitHub issue

Problem to solve

I love Vuetify, but if I had to point one pain point, that would be the Grid system.

I think the grid system is overly complicated and unclear. The only way to align is by using v-row. The only way to space items is by using v-col. That works pretty well, up to the point where using vertical layout. Where we usually end up with:

<v-col>
  <v-row>
    <v-col></v-col>
  </v-row>
  <v-row>
    <v-col></v-col>
  </v-row>
</v-col>

This is also a problem to use a <v-spacer> vertically, which I recently learned to fix using: <v-row class="flex-column">.

Proposed solution

I recently had to use Material-UI with React. I do not like Material-UI, but if there is one thing they make easy, it’s the Grid system. By allowing to make a container horizontal(default) or vertical: <Grid container direction="column">. And even allow a container to be an item (a col to be a row), which prevents adding extra v-row/v-col tags or add flex classes just to get access to alignments and/or spacing: <Grid container item>

<Grid container direction="column">
  <Grid container item></Grid>
  <Grid container item></Grid>
</Grid>

I wish Vuetify had that. ❤️

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
oliviertassinaricommented, Aug 17, 2020

I recently had to use Material-UI with React. I do not like

@Elfayer Anything we could improve in Material-UI to make it enjoyable? 🙌 (sorry for hijacking the thread a bit)

0reactions
johnleidercommented, Nov 29, 2021

This Issue is being closed due to inactivity.

If you have any questions, please reach out to us in our Discord community.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiple Layout Grids per Object / Artboard / Document
Right now the layout grid is very basic and solves just a very basic scenario. But with complex and large websites / apps...
Read more >
Feature Request: Custom Compound Column/Modular Grids
I'm writing to request an enhancement to the existing "Column Guide" feature in Publisher and it's sister applications: the ability to set ...
Read more >
Feature Request: pass calculated dimensions to children #506
I understand that with current implementation it might be difficult to implement. But my suggestion is: Make GridItem component pass height and ...
Read more >
Dynamic Type Units via Grid to Mimic Container Queries ...
PROBLEM It is difficult to maintain a usable typographic system ... Feature Request: Dynamic Type Units via Grid to Mimic Container Queries.
Read more >
Feature request: css columns - [Gutenberg Block Editor Toolkit
Css columns property is a special case (compared to many other layout options) which ... I do complex CSS grid layouts in Oxygen...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found