Open redimongo opened 1 year ago
(could not find the GitHub for lab) @redimongo
We use a monorepo. Here is code of lab package: https://github.com/mui/material-ui/tree/master/packages/mui-lab if you were interested.
Basiclly I have Cards and I have some cards that are to tall and others that are to short, so Masonry works wonders, however now my cards won't do as I need them to do. basically my Tip card should be full length of the screen {12} however with Masonry I can't force it to as the Masonry code requires us to limit into columns.
I see your struggle due to the limitation of the component. I will give it some thought.
(could not find the GitHub for lab) @redimongo
We use a monorepo. Here is code of lab package: https://github.com/mui/material-ui/tree/master/packages/mui-lab if you were interested.
Yes thank you, I could not find the repo so I thought I would put the issue here.
Basiclly I have Cards and I have some cards that are to tall and others that are to short, so Masonry works wonders, however now my cards won't do as I need them to do. basically my Tip card should be full length of the screen {12} however with Masonry I can't force it to as the Masonry code requires us to limit into columns.
I see your struggle due to the limitation of the component. I will give it some thought.
Temp solution was to put all full width cards up top, and outside of the Masonry. Not the ideal solution, but works.
Before closing this issue, I would like to second the need for allowing custom widths (or even something a little more conventional, like column span) on masonry children. If there is current development on this, could I please be pointed towards it?
Duplicates
Latest version
Summary 💡
I am using
import Masonry from '@mui/lab/Masonry';
(could not find the GitHub for lab)Basiclly I have Cards and I have some cards that are to tall and others that are to short, so Masonry works wonders, however now my cards won't do as I need them to do.
basically my Tip card should be full length of the screen
{12}
however with Masonry I can't force it to as the Masonry code requires us to limit into columns.I don't know if anyone would have any suggestions but would really love the help if someone has a solution.
Examples 🌈
Full page code
Motivation 🔦
The issue is card Teams could be really long taller than any other card as it has user data on it, when I tried to get it to work with a simple grid layout there was a big space between the two cards on the left. So I thought Masonry would fix it.
it does but it to has limitations.