Skip to content

[TextField] Underline misalignment when Divider present #20752

@esseswann

Description

@esseswann
  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

It seems that when using <TextField select={true} /> and when there is a <Divider /> element somewhere in the tree above the underline is one pixel off
image

The same is happening to the Filled variant

Expected Behavior 🤔

The elements should be colinear despite presence of Divider anywhere on the tree

Steps to Reproduce 🕹

Edit still-microservice-dzqk4

Your Environment 🌎

Tech Version
Material-UI v4.9.11
React v16.13.1
Browser Chrome 81.0.4044.122

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.scope: text fieldChanges related to the text field.type: bugIt doesn't behave as expected.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions