[Autocomplete] styleOverrides not apply working for Paper
See original GitHub issueI have tried custom styleOverrides Autocomplete but I see it to work on the sandbox https://codesandbox.io/s/muiautocomplete-material-demo-forked-pv2ut?file=/index.js (apply both root and paper)
in my project with the same code
MuiAutocomplete: {
styleOverrides: {
root: { <= work
backgroundColor: 'blue'
},
paper: {<= Not work
backgroundColor: 'blue'
}
}
}
Does the current version v26 on npm match the sandbox?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
[Autocomplete] Using Theme to styleOverrides option is not ...
I tried to use theme to override option in Autocomplete component: MuiAutocomplete: { styleOverrides: { option: { padding: 10, '.
Read more >MaterialUI v5 -> How to style Autocomplete options
I'm just trying to change the background color on hover, and based on whether or not it is selected. I've tried 2 approaches...
Read more >MUI v5 -> How to style options inside Autocomplete component
I'm trying to apply some basic styles to the options inside the Autocomplete component from MUI v5. I'm just trying to change the...
Read more >How to Style the Material-UI Autocomplete Component
The Material-UI Autocomplete component and its Popper component can be styled by targeting built-in MUI styling APIs.
Read more >Autocomplete API - Material UI - MUI
Name Type Default
options * array
renderInput * func
autoComplete bool false
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 FreeTop 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
Top GitHub Comments
@dohomi It should keep working. We have designed the migration from JSS to styled to minimize the amount of breaking changes.
#25102 was fixed before the release. This issue is about how the popup is portaled. It’s a different issue.