Grid V2 breakpoint only applied with props order
See original GitHub issueDuplicates
- I have searched the existing issues
Latest version
- I have tested the latest version
Steps to reproduce 🕹
Current behavior 😯
md
breakpoint only used if placed as last prop
Expected behavior 🤔
All items should use 4 cols on md
breakpoint and up.
Context 🔦
No response
Your environment 🌎
npx @mui/envinfo
System:
OS: macOS 13.0
Binaries:
Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node
Yarn: 1.22.19 - ~/.yarn/bin/yarn
npm: 8.19.2 - ~/dev/fixely/fuel-delta/fuel-delta-frontend/node_modules/.bin/npm
Browsers:
Chrome: 106.0.5249.119
Edge: Not Found
Firefox: Not Found
Safari: 16.1
npmPackages:
@emotion/react: ^11.10.0 => 11.10.5
@emotion/styled: ^11.10.0 => 11.10.5
@mui/base: 5.0.0-alpha.103
@mui/core-downloads-tracker: 5.10.11
@mui/material: ^5.10.1 => 5.10.11
@mui/private-theming: 5.10.9
@mui/styled-engine: 5.10.8
@mui/system: 5.10.10
@mui/types: 7.2.0
@mui/utils: 5.10.9
@mui/x-date-pickers: ^5.0.6 => 5.0.6
@types/react: 18.0.24
react: ^18.2.0 => 18.2.0
react-dom: ^18.2.0 => 18.2.0
typescript: ^4.7.4 => 4.8.4
Issue Analytics
- State:
- Created a year ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
React Grid component - Material UI - MUI
Use the container prop to create a grid container that wraps the grid items (the Grid is always an item). Column widths are...
Read more >Changing the order of Grid Item stacking in material-ui
Finally doing <Grid item xs={12} md={6} className={this.props.classes.itemStyle}> will reorder that item. Hope it creates better understanding.
Read more >Guide to the MUI grid system - LogRocket Blog
MUI enables you to create innovative and responsive layouts. Explore the MUI Grid system and the new features expected with MUI Grid v2....
Read more >Using Breakpoints and Media Queries in Material-UI
In this function, we will pass an object with classes. Each class has styles that we want to apply to our project. The...
Read more >Grid system — Vuetify
When applied to v-container it will also align-items: center . ... Breakpoints based props on grid components work in an andUp fashion.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
sure, i found the root cause. will create PR once i fix it
hey i’m big fan of material ui, using it in almost all of my projects. i want to contritube to mui, can i work on this issue?