Skip to content

🐛 [UI/Fidelity] 'Combobox' + 'isExpanded:false' causes longest option to be displayed in two lines #382

@henry2man

Description

@henry2man

Describe the bug
Using Combobox with isExpanded: false causes longest option in dropdown to show in two lines. Maybe this is a padding problem/sizing problem?

To Reproduce

Combobox(
              isExpanded: false,
              onChanged: (option) => print("Option selected: option"),
              items: ["Windows", "MacOS", "Linux", "Web", "Android", "iOS"]
                  .map((e) => ComboboxItem(value: e, child: Text(e)))
                  .toList(),
              value: "Windows",
            )

Expected behavior
The list of options in the dropdown shows in one line

Screenshots
Captura de Pantalla 2022-06-01 a las 10 23 42
Captura de Pantalla 2022-06-01 a las 17 37 12

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions