mui / material-ui

Material UI: Comprehensive React component library that implements Google's Material Design. Free forever.
https://mui.com/material-ui/
MIT License
93.48k stars 32.16k forks source link

[Autocomplete] Mui-expanded class does not added to root div when Autocomplete is expanded. #36494

Closed MeryemSulum closed 1 year ago

MeryemSulum commented 1 year ago

Duplicates

Latest version

Steps to reproduce 🕹

Link to live example:

Steps:

1. 2. 3.

Current behavior 😯

I tried to style my Autocomplete with expanded class but it does not work because class is not added to the root when Autcomplete expanded. I did my styling via aria label that is added to the root when expanded with attribute selectors. I tried with the latest version of mui.

Expected behavior 🤔

Autcomplete root div should have expanded class so I can style the expanded version of Autocomplete.

Context 🔦

No response

Your environment 🌎

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

@MeryemSulum which version are you using? Adding Mui-expanded class to root is fixed in #33312 and released in version 5.11.12 . change log for that version: https://github.com/mui/material-ui/blob/master/CHANGELOG.md#muimaterial51112

github-actions[bot] commented 1 year ago

Since the issue is missing key information and has been inactive for 7 days, it has been automatically closed. If you wish to see the issue reopened, please provide the missing information.