Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DataGrid] Position PanelFilter popover manually #11069

Open
Tracked by #9328
michelengelen opened this issue Nov 17, 2023 · 0 comments
Open
Tracked by #9328

[DataGrid] Position PanelFilter popover manually #11069

michelengelen opened this issue Nov 17, 2023 · 0 comments
Labels
component: data grid This is the name of the generic UI component, not the React module! customization: logic Logic customizability enhancement This is not a bug, nor a new feature recipe

Comments

@michelengelen
Copy link
Member

michelengelen commented Nov 17, 2023

          Ok, I've spent some time debugging the issue. looking at this example https://codesandbox.io/s/panel-anchor-forked-k52pdr?file=/Demo.tsx if you open the `GridPanel` by clicking either button, then close it by `Esc` or clicking away and then open it again by clicking the other button then it works. 

@woodreamz I would suggest that you implement a custom button to first close all open panels using the apiRef and then open it again. In that scenario it should work as expected - it's a workaround. Let us know if this works. If not we would try and prioritize the issue and look at how the anchorEl is set internally. I checked it quickly and at first glance, it looks like the GridPanel was set's it to be the column header. https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/components/panel/GridPanel.tsx#L101

I apologize for not picking up your problem sooner but as @romgrk explained we had more pressing things to work on and the issue you have raised is not a critical problem that we had to fix quickly. We always respond in time to provide clarity on when the issue will potentially be fixed. In that particular case, we failed to set the expectations which is on us.

Originally posted by @DanailH in #10415 (comment)

Search keywords:

@github-actions github-actions bot added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Nov 17, 2023
@cherniavskii cherniavskii added component: data grid This is the name of the generic UI component, not the React module! customization: logic Logic customizability recipe enhancement This is not a bug, nor a new feature and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Nov 27, 2023
@github-project-automation github-project-automation bot moved this to 🆕 Needs refinement in MUI X Data Grid Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module! customization: logic Logic customizability enhancement This is not a bug, nor a new feature recipe
Projects
Status: 🆕 Needs refinement
Development

No branches or pull requests

2 participants