Angular select list multiple selection with no checkbox not working properly

Issue Im doing a list of selectable items and checkbox should not be visibile. Demo : https://stackblitz.com/edit/mat-selection-list-get-options-gcsdjd?file=src%2Fapp%2Flist-selection-example.css,src%2Fapp%2Flist-selection-example.ts Background field when items selected its not working properly Solution I think what happens in your CSS is that mat-list-option:hover and mat-list-option:focus styles

Continue reading

MUI5 custom typography typescript guide incorrect?

Issue I’m trying to setup custom typography variants in MUI5 by following this guide https://mui.com/customization/typography/#adding-amp-disabling-variants. When I add the type definitions in step 2 declare module ‘@mui/material/styles’ { interface TypographyVariants { poster: React.CSSProperties; } // allow configuration using `createTheme` interface

Continue reading

What do multiple css classes do?

Issue My application uses multiple classes using CSS modules. open is a boolen variable to determine if Paper should shift or not. <Paper className={`${classes.paper} ${open && classes.paperShift}`}> Question: Why are multiple classes being used, and how can they render differing

Continue reading

Styling reacts material-ui tabs

Issue I just started to use reacts material-ui and I would like to customize some styles. For example changing tabs background color. trying to use inlineStyle like <Tabs style={this.getStyles().tabs} > </Tabs> getStyles(){ return { tabs: { backgroundColor: Colors.teal200 }, headline:

Continue reading

React – Material UI grid items center issue

Issue I am unable to center the elements group using material ui grid system. Issue: The margin space on the exteme right. Code: const renderProjects = projects.map(project => ( <Grid item xs={12} sm={6} m={3} lg={3} key={project.title}> <ProjectCard title={project.title} description={project.description} image={project.image}

Continue reading

How to center the text in MUI Breadcrumbs

Issue I am using MUI Breadcrumb in my Code. I want to center the Content in Breadcrumb. I Try this code <BreadcrumbStyle style={{marginTop:30}}> <Card elevation={3} style={{padding:10}}> <Breadcrumbs separator={<NavigateNextIcon fontSize="small" />} aria-label="breadcrumb" > <Link underline="hover" color="inherit" href="/" sx={{ display: "flex", alignItems:

Continue reading

MaterialUI 5 : TypeError: Cannot read properties of undefined (reading 'create')

Issue After I created ThemeSetting.tsx context I cannot use <Button><Button> and all things that use theme of materialUI ReactJS , Typescript error TypeError: Cannot read properties of undefined (reading ‘create’) push../node_modules/@mui/material/Button/Button.js.Object.ownerState.ownerState node_modules/@mui/material/Button/Button.js:67 64 | minWidth: 64, 65 | padding: ‘6px

Continue reading

MaterialUI 5 : TypeError: Cannot read properties of undefined (reading 'create')

Issue After I created ThemeSetting.tsx context I cannot use <Button><Button> and all things that use theme of materialUI ReactJS , Typescript error TypeError: Cannot read properties of undefined (reading ‘create’) push../node_modules/@mui/material/Button/Button.js.Object.ownerState.ownerState node_modules/@mui/material/Button/Button.js:67 64 | minWidth: 64, 65 | padding: ‘6px

Continue reading

MaterialUI 5 : TypeError: Cannot read properties of undefined (reading 'create')

Issue After I created ThemeSetting.tsx context I cannot use <Button><Button> and all things that use theme of materialUI ReactJS , Typescript error TypeError: Cannot read properties of undefined (reading ‘create’) push../node_modules/@mui/material/Button/Button.js.Object.ownerState.ownerState node_modules/@mui/material/Button/Button.js:67 64 | minWidth: 64, 65 | padding: ‘6px

Continue reading