Skip to content

Long EuiComboBox option causes parent EuiFlexItem to wrap #3775

@jen-huang

Description

@jen-huang

A long EuiComboBox option seems to cause width issues where its parent EuiFlexItem no longer respects the width constraints imposed on it from EuiFlexGrid/EuiFlexGroup.

Here is a CodeSandbox demo using EuiFlexGroups, the first one is with a short option which causes no wrapping issues. The second uses a long option and you can see that the parent EuiFlexItem wraps into a new row:

image

Example use case in our plugin. For now, I will be fixing this using a calculated max-width on the EuiFlexItem:

Screen Shot 2020-07-20 at 10 22 46 AM

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions