Skip to content

[Bug]: Listbox in ShadowDOM Event Loss #835

Closed
@jamesleslie-uom

Description

What package within Headless UI are you using?

@headlessui/react

What version of that package are you using?

1.4.1

What browser are you using?

Firefox, Chrome, Edge

Reproduction repository

https://github.com/jamesiscool/headless-ui-shadow-dom

Describe your issue

When the Listbox is use within a ShadowDOM clicks on options intermittently don't update the selected value. Some times it happens straight away other times it take 10+ clicks before it starts happening

https://jamesiscool.github.io/headless-ui-shadow-dom/

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