react-blocks icon indicating copy to clipboard operation
react-blocks copied to clipboard

Shouldn't flex-wrap be nowrap by default?

Open GabiAxel opened this issue 9 years ago • 1 comments

In common use cases I can think of, nowrap would make more sense for page layouts. Flexbox'es strength as I see it is in easily making blocks layout in a row or a column that stretches over its container's width/height with one item filling the available space (or some variation of that), but flex-wrap:wrap makes the view unpredictable since it makes the layout dependent on width/height of the blocks internal content.

GabiAxel avatar Jan 31 '16 11:01 GabiAxel

It would be extremely helpful to be nowrap by default and to have another property called "wrap" that we can tag it with if we need the wrap ability. The nowrap by default makes it extremely unfriendly for responsive use and we are having to write "hacks" to fix this issue.

Or at the very least create an "unwrap" property we can use to make it behave without the wrapping.

sepatel avatar Feb 07 '20 11:02 sepatel