-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Labels
scope: selectChanges related to the select.Changes related to the select.
Description
Steps to reproduce
- Set up
<Select>component and use theme with transition component override, e.g.:
const theme = createTheme({
components: {
MuiSelect: {
defaultProps: {
MenuProps: {
slots: {
transition: Fade,
},
},
},
},
},
});- Open select menu.
Current behavior
Default transition component is used (Grow).
Expected behavior
Transition component is replaced with Fade.
Context
The only working way to replace transition component right now seems to be to use MenuProps.TransitionComponent, on each particular Select, and TransitionComponent is marked as deprecated.
<Select
...
MenuProps={{
TransitionComponent: Fade,
}}
>Breaking change apparently occurred in 7.3.0 or after, worked fine in 7.2.0.
Your environment
npx @mui/envinfo
Search keywords: Select
Metadata
Metadata
Assignees
Labels
scope: selectChanges related to the select.Changes related to the select.