Skip to content

Select displays empty option labels with incorrect height #2326

@rathga

Description

@rathga
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.6.1

Environment

All

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Create an with an with a value that has an empty string.

What is expected?

The dropdown should show the label for the empty option with the same height as all other options.

What is actually happening?

The height of the empty option is minimal, and it is hard to see.


Adding a non-breaking space corrects the behaviour. This should be done automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions