I am using the menu inside the DataGridPro. I am showing the three dots button for hovered row. When I am clicking on the button, menu is opening left side of the screen. And throwing the above error.
The anchorEl
prop provided to the component is invalid. The anchor element should be part of the document layout.
stackblitz ->
DataGridPro
Menu is coming to the left side of the Screen
Akash Choudhary is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.