Skip to content

[Select] Incorrect auto-sizing of Native select. #18771

@yakovlev-a

Description

@yakovlev-a
  • The issue is present since 4.7.1 release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Steps to Reproduce 🕹

Open https://codesandbox.io/s/material-demo-ooctx
Change row 219 in demo.js to:
<option value={30}>Thirty Thirty Thirty</option>
Select this option on https://ooctx.csb.app/
See incorrect auto-sizing of element:

native select incorrect auto-sizing

Your Environment 🌎

Tech Version
Material-UI v4.7.1+
React Latest
Browser Latest Firefox, Latest Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGreat for first contributions. Enable to learn the contribution process.scope: selectChanges related to the select.type: bugIt doesn't behave as expected.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions