Skip to content

[material-ui][Autocomplete] Not possible to apply focus-visible style to autocomplete border #45634

Open
@bisnurana

Description

@bisnurana

Steps to reproduce

Can be reproduced in provided example,
https://mui.com/material-ui/react-autocomplete/

Current behavior

There in no way to provide focus visible styling to the autocomplete sx props.
Based on the api documentation .Mui-focusVisible class is specified for applying focus-visible style however, that class is never getting applied to the component.

Expected behavior

using .Mui-focusVisible class should be possible.

Context

I would like to have different color to the autocomplete field when the use is focusing using keyboard.

Your environment

No response

Search keywords: Autocomplete

Metadata

Metadata

Labels

component: autocompleteThis is the name of the generic UI component, not the React module!new featureNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions