Skip to content

[EuiSuggest] Status changes width of text field #2528

@i-a-n

Description

@i-a-n

Hi team. I noticed that when changing the status on an <EuiSuggest> element, typically from "unchanged" to "loading", that the width can change by a fair amount, up to 20 pixels. This causes a serious amount of jank on layouts that are dynamic and not full-width.

Here's a pared-down example where a two-column flexbox layout is disrupted by toggling the loading state on/off. Just type slowly in the text field to toggle the status: https://codesandbox.io/s/optimistic-shadow-rlvq1

This isn't a blocker or anything for me, but I thought I'd bring it up for discussion and further tracking if it's something we want to fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⚠️ needs validationFor bugs that need confirmation as to whether they're reproducible

    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