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

Use fullWidth prop from Autocomplete to render input #36842

Closed
wants to merge 1 commit into from

Conversation

guoyunhe
Copy link

@guoyunhe guoyunhe commented Apr 11, 2023

Currently Autocomplete's renderInput force input to be fullWidth. This PR changes it to respect the fullWidth prop of AutoComplete. If Autocomplete is fullWidth, then the input is. If Autocomplete is NOT fullWidth, then the input is NOT.

Fix #36841

@zannager zannager added the component: autocomplete This is the name of the generic UI component, not the React module! label Apr 11, 2023
@zannager zannager requested a review from michaldudak April 11, 2023 10:59
@michaldudak
Copy link
Member

I'm afraid we can't proceed with this change as it would break existing layouts. We can revisit the problem when we work on Material UI v6.

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

Successfully merging this pull request may close these issues.

[Autocomplete][material-ui] fullwidth=true always passed to inner component
3 participants