Skip to content

Autocomplete or ActionList throws error: Cannot use 'in' operator to search for '__self' in false #6097

Open
@Mizan-Rifat

Description

@Mizan-Rifat

Description

🐛 Bug Report

When using the Autocomplete or ActionList components from @primer/react, I get the following error:

Unexpected Application Error!
Cannot use 'in' operator to search for '__self' in false

Environment information

@primer/react: 37.18.0

react: 19.0.0

react-dom: 19.0.0

Steps to reproduce

Install @primer/react@^37.18.0

Use Autocomplete or ActionList component with minimal setup

Run the app with [email protected]

Observe the error in the browser

Version

37.18.0

Browser

Chrome

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreact

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions