Skip to content

ActionMenu Not Working With Current Release: 'Cannot set properties of undefined' #3469

Closed
@greenpixels

Description

@greenpixels

🐛 Bug Report

I reinstalled my dependencies and encountered ActionMenu throwing an error when trying to open the menu.

🤔 Expected Behavior

The menu should open and show its children/items.

😯 Current Behavior

The application crashes, showing the following error:

Error in /turbo_modules/@react-aria/[email protected]/dist/main.js (409:87)
Cannot set properties of undefined (setting 'nodeToRestore')

💻 Code Sample

Stackblitz Example using the default example shown in the documentation.

🌍 Your Environment

Software Version(s)
react-spectrum 3.21.1
react 18.2.0
react-dom 18.2.0
@types/react-dom 18.0.6
@types/react 18.0.18

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