[Menu] ownerState is undefined when the Menu is opened #34404
Labels
bug 馃悰
Something doesn't work
component: menu
This is the name of the generic UI component, not the React module!
good first issue
Great for first contributions. Enable to learn the contribution process.
package: material-ui
Specific to @mui/material
Duplicates
Latest version
Steps to reproduce 馃暪
You can check here. When you click DASHBOARD button and error occurs.
https://codesandbox.io/s/amazing-dubinsky-pkesu9?file=/index.js
Current behavior 馃槸
TypeError occurs.
Expected behavior 馃
no error occurs and can access ownerState.
Context 馃敠
I created custom theme for MuiMenu to change the style.
Your environment 馃寧
CodeSandbox
The text was updated successfully, but these errors were encountered: