Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[material-ui][FormControlLabel] slotProps.typography not applied correctly #42277

Open
sai6855 opened this issue May 17, 2024 · 1 comment
Open
Assignees
Labels
bug 🐛 Something doesn't work component: FormControl The React component package: material-ui Specific to @mui/material

Comments

@sai6855
Copy link
Contributor

sai6855 commented May 17, 2024

Steps to reproduce

Demo from next.mui.com : https://stackblitz.com/edit/react-sy5tv3?file=Demo.tsx

Demo from mui.com: https://stackblitz.com/edit/react-aea6ud?file=Demo.tsx

On inspecting Label text from both demos, you can notice following styles are only applied in mui.com demo and not on next.mui.com demo


    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

Current behavior

styles for noWrap are not applied in next.mui.com demo

Expected behavior

styles for noWrap should be applied in next.mui.com demo

Context

No response

Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: formcontrollabel

@sai6855 sai6855 added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label May 17, 2024
@sai6855
Copy link
Contributor Author

sai6855 commented May 17, 2024

Tried fixing here -> #42278 but it didn't worked

Tried here -> #42303

@zannager zannager added the component: FormControl The React component label May 20, 2024
@DiegoAndai DiegoAndai added bug 🐛 Something doesn't work package: material-ui Specific to @mui/material and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: FormControl The React component package: material-ui Specific to @mui/material
Projects
None yet
3 participants