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.

Responsive Col don't support 'flex' prop in ColSize

See original GitHub issue
  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://codepen.io/rplussoundon/pen/ExgJZVb?editors=0010

Steps to reproduce

To resize between md and lg, the flex prop doesn’t apply.

What is expected?

flex value should inject to the element inlin style when window size is larger than md.

What is actually happening?

flex value does’t apply.

Environment Info
antd 4.7.0
React 16.13.1
System Mac
Browser Chrome 87.0.4280.141

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
naimeshbarotcommented, Aug 9, 2022

I am also facing the same issue. I am not able to apply flex for responsive.

1reaction
curly210102commented, Jan 10, 2022

@afc163 那我上手改咯

Read more comments on GitHub >

github_iconTop Results From Across the Web

Grid system - Bootstrap
Bootstrap's grid system uses a series of containers, rows, and columns to layout and align content. It's built with flexbox and is fully...
Read more >
Controlling ratios of flex items along the main axis - CSS
In this guide we will be exploring the three properties that are applied to flex items, which enable us to control the size...
Read more >
How can I have two fixed width columns with one flexible ...
Instead of using width (which is a suggestion when using flexbox), you could use flex: 0 0 230px; which means: 0 = don't...
Read more >
Ion-Grid: Display Grids to Build Mobile-First Custom App Layout
Responsive size​. The size property will change the column width for all breakpoints. Column also provides several size properties with the breakpoint name ......
Read more >
Grid system - React-Bootstrap
Bootstrap's grid system uses a series of containers, rows, and columns to layout and align content. It's built with flexbox and is fully...
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