Skip to content

[combobox] Input and popup elements width mismatch when inheriting width with decimal places #4061

@nkoene1

Description

@nkoene1

Bug report

Current behavior

If the combobox field's width is dictated by the parent (e.g. a grid layout) and ends up with odd width values containing decimal places, the popup seems to have problems rendering its width the same way as the anchor field.

Bildschirmaufnahme.2026-02-12.um.15.54.47.mov

Expected behavior

The width of anchor field and popup should be rendered the exact same as intended - even in the case of values with decimal places caused by e.g. percentage based width rules.

Reproducible example

StackBlitz Example

Base UI version

v1.1.0

Which browser are you using?

Behavior identical in Chrome and Firefox

Which OS are you using?

Mac OS

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: comboboxChanges related to the combobox component.type: bugIt doesn't behave as expected.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions