【发布时间】:2022-01-09 01:36:41
【问题描述】:
我希望能够设置下拉背景的样式,这样当它打开后面的项目时,它会变得模糊,知道它应该定位哪个类吗?
paper: {
backdropFilter: 'blur(14px)',
backgroundColor: 'rgba(104, 99, 99, 0.5)',
'& .MuiAutocomplete-listbox': {
'& li': { padding: 2 },
},
},
<Autocomplete
disabled={/*check?.length === 0*/ selected.group ? false : true}
id='country-select-demo'
PaperComponent={({ children }) => <Paper className={classes.paper}>{children}</Paper>}
renderInput={(params) => (
<TextField
{...params}
/>
)}
/>
【问题讨论】:
标签: material-ui