Skip to content

Combobox position strategy #3807

@inikonorov

Description

@inikonorov

What package within Headless UI are you using?

@headlessui/react

What version of that package are you using?

v2.2.4

What browser are you using?

Chrome

Describe your issue

ComboboxOptions use absolute position strategy, which can breaks if I render Combobox with modal={true} inside Modal (not headlessui component) which one is rendered using position: fixed. Maybe somehow we can use position: fixed strategy if it's possible?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions