-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[question] How to Get Detail Panel to Work With Right Click Menu #6846
Copy link
Copy link
Closed
Labels
customization: cssDesign CSS customizability.Design CSS customizability.feature: Master-detailRelated to the data grid Master-detail featureRelated to the data grid Master-detail featuregood first issueGreat for first contributions. Enable to learn the contribution process.Great for first contributions. Enable to learn the contribution process.scope: data gridChanges related to the data grid.Changes related to the data grid.support: commercialSupport request from paid users.Support request from paid users.type: bugIt doesn't behave as expected.It doesn't behave as expected.
Metadata
Metadata
Assignees
Labels
customization: cssDesign CSS customizability.Design CSS customizability.feature: Master-detailRelated to the data grid Master-detail featureRelated to the data grid Master-detail featuregood first issueGreat for first contributions. Enable to learn the contribution process.Great for first contributions. Enable to learn the contribution process.scope: data gridChanges related to the data grid.Changes related to the data grid.support: commercialSupport request from paid users.Support request from paid users.type: bugIt doesn't behave as expected.It doesn't behave as expected.
Fields
Give feedbackNo fields configured for issues without a type.
Order ID 💳
331993142
Duplicates
Latest version
The problem in depth 🔍
I had a table working with a detail panel - when I opened the detail panel for the first row in the table, the rows below were displayed below the detail panel. Then I added a right-click menu... Now when I open the detail panel for the first row, it covers the rows below it. I would like to be able to have the right-click menu and the detail panel on the same table, with the detail panel working as it was before I added the right-click menu, where expanding the detail panel does not cover table rows. How can this be achieved?
Here is a codesandbox showing the issue: https://codesandbox.io/s/practical-chatterjee-5zpw6n?file=/src/ExpandAndRightClick.jsx
To see the issue, expand the detail panel for the first row in the table -> observe detail panel covers the remaining table rows.
Comment out the right click menu and then expand the detail panel for the first row in the table -> observe detail panel does not cover the remaining table rows.
Your environment 🌎
`npx @mui/envinfo`