Skip to content

Cannot read properties of null (reading 'shadowRoot') #9654

@pzaczkiewicz-athenahealth

Description

Provide a general summary of the issue here

When I open a Popover within a shadow DOM I get an error:

Cannot read properties of null (reading 'shadowRoot')
TypeError: Cannot read properties of null (reading 'shadowRoot')

🤔 Expected Behavior?

Popover opens

😯 Current Behavior

Errors:

Cannot read properties of null (reading 'shadowRoot')
TypeError: Cannot read properties of null (reading 'shadowRoot')

💁 Possible Solution

@react-aria/utils@3.33.0 on npm appears to behind the main branch.

🔦 Context

No response

🖥️ Steps to Reproduce

Since the issue appears to be a stale version of @react-aria/utils 3.33.0 on npm, a reproduction environment seems overkill.

Version

"@internationalized/date": "~3.11.0",     "@react-aria/separator": "~3.4.15",     "@react-aria/utils": "~3.33.0",     "@react-stately/datepicker": "~3.16.0",     "@react-stately/form": "~3.2.3",     "@react-stately/select": "~3.9.1",     "@react-types/shared": "~3.33.0",      "react-aria": "~3.46.0",     "react-aria-components": "~1.15.1",      "react-stately": "~3.44.0",

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

Windows

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

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