Comments (1)
@DiegoAndai From my point of view, another idea could be to delete props.ownerState in the useThemeProps hook or in every component before the props are spreaded. This should solve the problem with ownerState.ownerState and also that the parentOwnerState appears in ...other or ...props. I find it difficult to handle the whole thing in the useSlot hook, as the ownerState would no longer be passed to styled components if I'm not wrong.
from material-ui.
Related Issues (20)
- [OutlinedInput] No highlighted border on input on mobile HOT 2
- [AppBar] background color not alligned between dark and light colorSchemes
- @mui/material-pigment-css useTheme: theme has no spacing property
- [docs] Custom breakpoints breaks other components HOT 1
- [question] [autocomplete] How to render hyperlink in MUI Autocomplete field HOT 1
- [TextField] Screen flickering when typing in Chrome mobile
- Custom theme colors breaking MuiButton in Material UI v6
- unstable_useIsFocusVisible is not exported from @mui/utils HOT 7
- [material-ui][Select] alternative option for select multiple behavior, that item click replaces existing selection instead of adding it HOT 2
- Load order of @emotion/styled and @emotion/react is important since 6.1.0 HOT 1
- icon import issue. Some icons affected HOT 2
- Styles not applying correctly in Chrome 129 HOT 68
- CSS Vars Theme not applying correct styles when using nested/forced color schemes HOT 5
- Textfield does not pass down the size attribute(theme) HOT 1
- [core] Refactor getScrollbarSize to operate on window instead of document HOT 4
- Autocomplete dropdown/popper fails to render when wrapped with a ThemeProvider setting default input slotProps on TextField. HOT 2
- [mui/system] theme - typescript module augmentation HOT 6
- theme.applyStyles is not a function HOT 3
- Does MUI has Tree component? HOT 2
- [docs] Badge `anchorOrigin` should mention the required keys HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from material-ui.