Category "material-ui"

React MUI - Consistent Tab Content Height

I understand that ideally should be placed at the top of the page. However, Assume they are place in the middle of the page. When changing from a tab with a l

MUI Modal doesnt close

I have an e-commerce website and I added a cart icon in the navbar. When clicked, a MUI modal should open (and it does) but it doesn't close anymore. I also add

Scoping v5 MUI Styles

We have a legacy application that we're slowly migrating to React and MUI. In order to prevent overlap in styling between the different parts of our applicatio

MUI DataGrid onCellEditStop returns old value

I am trying to use an editing API from "@mui/x-data-grid" and simply have editing on the cell and retrieve the new value. When I use onCellEditStop={(params: Gr

How to hide header in mui mobile datepicke?

how to hide this block on mobile version mui datepicker?

How to hide header in mui mobile datepicke?

how to hide this block on mobile version mui datepicker?

How to reduce the Gap space

in below grid container , there is an image on the left , with a bunch of text on the right , there is a huge gap between the image and the text which tried to

MUI Radio button disabled change value when Select drop down changes

My problem is that when I change a value in a dropdown I want to disable two radio buttons and change to the correct radio button. I am able to disable the radi

How do I change the font size and color of a TreeView?

Give style like this: const style = { overflow: "auto", backgroundColor: "#292929", color: "blue", height: 650, width: 1, flexGrow: 1, fontFamily:

Coordinate overlapping components to scale together

Attempting to create a higher-order component with two components that scale together. The higher-order component is set up as so: <> <Component 1/

Form elements do not have associated labels, but it is a MUI theme switch [closed]

I have a theme switch (light to dark) on my page, using Material UI switch. I get an error from lighthouse stating that it needs a label, but

MUI/Icon makes everything dissapear

When I try to import and use a mui icon in react, it makes the whole div dissapear, and just the background image remain, i have installed: emotion/react, emoti

How to export all the pages to CSV in MUI DataGrid?

I hava a DataGrid table from Material UI with more than 3000 rows, each page contains max 50 rows per page. What I want is to be able to export all the rows to

React Material UI Autocomplete, prevent OnInputChange, after selecting value from dropdown

How do I prevent React Material UI to not trigger onInputChange, when a person selects a option from the dropdown? After using the dropdown, it retriggers the A

Attempted import error: 'styleFunctionSx' is not exported from '@material-ui/system'

I'm getting this error when attempting to npm start: ./node_modules/@material-ui/core/esm/Box/Box.js Attempted import error: 'styleFunctionSx' is not exported f

Attempted import error: 'styleFunctionSx' is not exported from '@material-ui/system'

I'm getting this error when attempting to npm start: ./node_modules/@material-ui/core/esm/Box/Box.js Attempted import error: 'styleFunctionSx' is not exported f

Error: Element type is invalid thrown by reactjs

for the code below in next.js index page import { Typography } from '@mui/material/Typography'; import { createTheme, ThemeProvider } from '@mui/material/styles

React MUI - Masonry mobile responsive

I'm new to react I'm trying to figure out how I can make a Masonry image grid - mobile resonsive. The idea is that I want the images to stack on top of each oth

Unable to center the content within a Material UI TableCell

I have TableCell which shows a status and a Button. I want them to be vertically stacked and centered in the cell. I am able to get either working separately bu

How do I link to another page in my MUI mini drawer sidebar?

I've tried to encapsulate my ListItem component with <Link to"/create> but it doesn't work, i've also tried using the history option but that confused me.