Hi everybody,
(excuse my english, it’s not my language
I try to reproduce the behavior of a 3 columns layout but using flexbox because the page must display the results of a search request (managed server side by the client), all the results must appear in the same div and not in 3 different divs like those used in a 3 columns layout.
I’ve tried this solution too but that doesn’t work cause in this case I must set a sizing for the flex child (Div_Analyse) with a custom grow and shrink behavior relative to the height of the flex container.
In the example, the custom grow and shrink behavior is set to 33.333% basis, that’s why we have a blank space below each flex child.
That’s allow the wrapping to work but that’s cause also unpredicted results with the flex child div unfold.
With a columns layout, we have a number of different columns (3 in this case) and because at the end this page will be a server side generated page, we can’t address each items to the first, second or thirst column.
I am afraid the only way to set up the similart structure to columns and with the behaviour that you need is like this. But you will have to custom code the content flow. Currently obviously no automatic content flow will happen if you put #4 after #3 - it will simply expand the first column vertically.