Skip to content

Incorrect left padding when using startAdornment in Autocomplete #46409

Open
@danny-andrews

Description

@danny-andrews

Steps to reproduce

Steps:

  1. Render an Autocomplete with a TextField with a startAdornment.
  2. Render a standalone TextField with a startAdornment.

Running Example.

Current behavior

The left padding differs between standalone TextField rendered with a startAdornment (14px) and Autocomplete rendered with a startAdornment (9px).

Image

Expected behavior

The left padding should be the same in both cases.

Context

No response

Your environment

Running latest version of MUI (see reproduction link).

Search keywords: incorrect padding startAdornment autocomplete

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions