-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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] Custom filter with <Select> closes the filter dialog straightaway #1314
Comments
I have updated the reproduction to use @material-ui/core v5, same issue: https://codesandbox.io/s/datagrid-bug-demo-forked-u7dec. I have also grouped the files to make it easier to use the reproduction locally. |
@oliviertassinari Related to mui/material-ui#18586. The diff you proposed could be a solution. Disabling the Portal created another bug: |
@m4theushw Oh wow, great investigation 🙏! I had completely forgotten this one. 👍 for fixing this in the core (v5). I assume the target gets removed from the DOM by the time the event bubble back to the document. How about we?
|
I'm closing for mui/material-ui#25578 as this repository has no leverages to solve the issue nor it should even try. You can subscribe to the linked item to know when it will be fixed in core v5. |
Current Behavior 😯
Using Select component at the custom
filterOperators
closes the filter dialog straightawayExpected Behavior 🤔
Should be able to filter based on custom select component
Steps to Reproduce 🕹
Here's the https://codesandbox.io/s/datagrid-bug-demo-3tmw7?file=/src/App.js, reproducible on XGrid
Your Environment 🌎
Browser: Chrome
`npx @material-ui/envinfo`
Order id 💳
I have purchased the XGrid license as well, order: #23091
Thanks guys
The text was updated successfully, but these errors were encountered: