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

[Autocomplete] Migrating *Component to slots styles not applied #44926

Closed
povilass opened this issue Jan 3, 2025 · 3 comments
Closed

[Autocomplete] Migrating *Component to slots styles not applied #44926

povilass opened this issue Jan 3, 2025 · 3 comments
Labels
component: autocomplete This is the name of the generic UI component, not the React module!

Comments

@povilass
Copy link
Contributor

povilass commented Jan 3, 2025

Steps to reproduce

Steps:

  1. Open this link to live example: (required)

Current behavior

Slots components missing styles from internal components

Expected behavior

Slots components styles should be applied from internal components

Context

Migration

Your environment

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

Search keywords: slots migration

@povilass povilass added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jan 3, 2025
@povilass povilass changed the title [Autocomplete] Migrating *Component to slots [Autocomplete] Migrating *Component to slots styles not applied Jan 3, 2025
@povilass
Copy link
Contributor Author

povilass commented Jan 3, 2025

ok, it's probably my bad. Expected slots to apply the same as passing slotProps={{ listbox: { component: CustomListBox } }} as slots={{ listbox: CustomListBox }}

https://mui.com/material-ui/migration/migrating-from-deprecated-apis/#autocomplete

@povilass
Copy link
Contributor Author

povilass commented Jan 3, 2025

Closing

@povilass povilass closed this as completed Jan 3, 2025
Copy link

github-actions bot commented Jan 3, 2025

This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

Note

@povilass How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey.

@github-actions github-actions bot removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jan 3, 2025
@zannager zannager added the component: autocomplete This is the name of the generic UI component, not the React module! label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: autocomplete This is the name of the generic UI component, not the React module!
Projects
None yet
Development

No branches or pull requests

2 participants