Trying to implement masonry layout in Flex #3979
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Disclaimer: This is a very experimental bot using OpenAI's GPT-4. The answers may not be correct, a human will review the answer and update it if necessary. Sorry, I don't know how to help with that. I did do a search though, and I managed to find these other Discussions that might be similar or related to your question. Give them a read to see if they answer your question. If they do, head back here and update this discussion and mark it as answered, pointing others to the related discussion:
|
Beta Was this translation helpful? Give feedback.
-
Looping Meg @marnold-twilio |
Beta Was this translation helpful? Give feedback.
-
Hi @srgupta-twilio, Thanks for reaching out. Looking at what you are trying to achieve you can do that currently by nesting Grid and Column components noted in our docs here. You will not need to use masonry grid, it has a great use case for components variably spanning columns but is not required for your use case (correct me if I'm wrong). I have created an example for you and your developers for how you can achieve this. Note, for default responsiveness using columns of 3 > 2 columns will not wrap nicely (as shown in default example). You will see in the example the whole third column is added to the first and you still see the card spacing issue. If you are using fixed column spans this will not be an issue but if you intend to make it responsive I have given an example of how to achieve this by check the breakpoints and moving card to other columns. I hope this helps. If you have any further questions please let us know. |
Beta Was this translation helpful? Give feedback.
Hi @srgupta-twilio,
Thanks for reaching out. Looking at what you are trying to achieve you can do that currently by nesting Grid and Column components noted in our docs here. You will not need to use masonry grid, it has a great use case for components variably spanning columns but is not required for your use case (correct me if I'm wrong).
I have created an example for you and your developers for how you can achieve this. Note, for default responsiveness using columns of 3 > 2 columns will not wrap nicely (as shown in default example). You will see in the example the whole third column is added to the first and you still see the card spacing issue. If you are using fixed column spans th…